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§
sourcefn duplicate_key() -> Self
fn duplicate_key() -> Self
Occurs when given value already exists in waitlist.
sourcefn element_not_found() -> Self
fn element_not_found() -> Self
Occurs when element wasn’t found in storage.
Object Safety§
This trait is not object safe.