diff --git a/tools/copy_bom/src/error.rs b/tools/copy_bom/src/error.rs new file mode 100644 index 00000000..35ac1e8d --- /dev/null +++ b/tools/copy_bom/src/error.rs @@ -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;