Define error numbers
This commit is contained in:
parent
33d074e280
commit
6a0435d9b6
8
tools/copy_bom/src/error.rs
Normal file
8
tools/copy_bom/src/error.rs
Normal file
@ -0,0 +1,8 @@
|
||||
/// This file defines error number to indicate different errors
|
||||
pub static FILE_NOT_EXISTS_ERROR: i32 = -1;
|
||||
pub static COPY_FILE_ERROR: i32 = -2;
|
||||
pub static INVALID_BOM_FILE_ERROR: i32 = -3;
|
||||
pub static CREATE_DIR_ERROR: i32 = -4;
|
||||
pub static CREATE_SYMLINK_ERROR: i32 = -5;
|
||||
pub static COPY_DIR_ERROR: i32 = -6;
|
||||
pub static INCORRECT_HASH_ERROR: i32 = -7;
|
Loading…
Reference in New Issue
Block a user