error + 300

This commit is contained in:
alex
2024-07-09 11:16:27 -07:00
parent d19dc0b7d5
commit 087b83131c
2 changed files with 3 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ pub enum OreError {
impl From<OreError> for ProgramError {
fn from(e: OreError) -> Self {
ProgramError::Custom(e as u32)
let f = (e as u32) + 300;
ProgramError::Custom(f)
}
}