mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-19 15:10:29 +00:00
error + 300
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user