Skip to content

Commit

Permalink
Edit error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
immrsd committed Oct 29, 2024
1 parent f75278d commit 9328c92
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/governance/src/multisig/multisig.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@ pub mod MultisigComponent {
}

pub mod Errors {
pub const UNAUTHORIZED: felt252 = 'Multisig: Unauthorized';
pub const NOT_A_SIGNER: felt252 = 'Multisig: Not a signer';
pub const ALREADY_A_SIGNER: felt252 = 'Multisig: Already a signer';
pub const ALREADY_CONFIRMED: felt252 = 'Multisig: Already confirmed';
pub const HAS_NOT_CONFIRMED: felt252 = 'Multisig: Has not confirmed';
pub const TX_NOT_FOUND: felt252 = 'Multisig: Tx not found';
pub const TX_NOT_CONFIRMED: felt252 = 'Multisig: Tx not confirmed';
pub const TX_ALREADY_EXECUTED: felt252 = 'Multisig: Tx already executed';
pub const EMPTY_SIGNERS_LIST: felt252 = 'Multisig: Empty signers list';
pub const ZERO_THRESHOLD: felt252 = 'Multisig: Threshold is zero';
pub const THRESHOLD_TOO_HIGH: felt252 = 'Multisig: Threshold > Signers';
pub const UNAUTHORIZED: felt252 = 'Multisig: unauthorized';
pub const NOT_A_SIGNER: felt252 = 'Multisig: not a signer';
pub const ALREADY_A_SIGNER: felt252 = 'Multisig: already a signer';
pub const ALREADY_CONFIRMED: felt252 = 'Multisig: already confirmed';
pub const HAS_NOT_CONFIRMED: felt252 = 'Multisig: has not confirmed';
pub const TX_NOT_FOUND: felt252 = 'Multisig: tx not found';
pub const TX_NOT_CONFIRMED: felt252 = 'Multisig: tx not confirmed';
pub const TX_ALREADY_EXECUTED: felt252 = 'Multisig: tx already executed';
pub const EMPTY_SIGNERS_LIST: felt252 = 'Multisig: empty signers list';
pub const ZERO_THRESHOLD: felt252 = 'Multisig: threshold is zero';
pub const THRESHOLD_TOO_HIGH: felt252 = 'Multisig: threshold > signers';
}

#[embeddable_as(MultisigImpl)]
Expand Down

0 comments on commit 9328c92

Please sign in to comment.