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.

Trait Implementations

pub fn abi_encode(self, buffer: Buffer) -> Buffer

pub fn abi_decode(refmut buffer: BufferReader) -> Self