Trait gear_common::storage::WaitlistError

source ·
pub trait WaitlistError {
    // Required methods
    fn duplicate_key() -> Self;
    fn element_not_found() -> Self;
}
Expand description

Represents waitlist error type.

Contains constructors for all existing errors.

Required Methods§

source

fn duplicate_key() -> Self

Occurs when given value already exists in waitlist.

source

fn element_not_found() -> Self

Occurs when element wasn’t found in storage.

Object Safety§

This trait is not object safe.

Implementors§