Enum sway_libs::pausable::errors::PauseError
pub enum PauseError {
/// Emitted when the contract is paused.
Paused: (),
/// Emitted when the contract is not paused.
NotPaused: (),
}
Expand description
Error emitted upon the opposite of the desired pause state.
Variants
Paused: ()
Emitted when the contract is paused.
NotPaused: ()
Emitted when the contract is not paused.