Skip to content

Commit a1091f7

Browse files
authored
Merge pull request #479 from filecoin-project/feat/add-user-assertion-err
feat: add USR_ASSERTION_FAILED error code
2 parents e45b032 + ea56405 commit a1091f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared/src/error/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ impl ExitCode {
100100
pub const USR_UNHANDLED_MESSAGE: ExitCode = ExitCode::new(22);
101101
/// Indicates the actor failed with an unspecified error.
102102
pub const USR_UNSPECIFIED: ExitCode = ExitCode::new(23);
103-
// pub const RESERVED_24: ExitCode = ExitCode::new(24);
103+
/// Indicates the actor failed a user-level assertion
104+
pub const USR_ASSERTION_FAILED: ExitCode = ExitCode::new(24);
104105
// pub const RESERVED_25: ExitCode = ExitCode::new(25);
105106
// pub const RESERVED_26: ExitCode = ExitCode::new(26);
106107
// pub const RESERVED_27: ExitCode = ExitCode::new(27);

0 commit comments

Comments
 (0)