Skip to content

Commit

Permalink
feat: impl check_error_condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemiiah committed Oct 1, 2024
1 parent 13f6cf4 commit 5ef3115
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/engine/src/errors.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pub mod Error {
pub const DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM: felt252 = 'Upgradable witness program';
pub const WITNESS_PROGRAM_INVALID: felt252 = 'Invalid witness program';
pub const SCRIPT_TOO_LARGE: felt252 = 'Script is too large';

pub const SCRIPT_UNFINISHED: felt252 = 'Script unfinished';
}

pub fn byte_array_err(err: felt252) -> ByteArray {
Expand Down

0 comments on commit 5ef3115

Please sign in to comment.