pub enum MintError {
SupplyCapReached,
Unauthorized,
TokenIdAlreadyExist,
TokenIdMinimumLimit,
GenericError {
error_code: u128,
message: String,
},
GenericBatchError {
error_code: u128,
message: String,
},
}Variants§
Trait Implementations§
Source§impl CandidType for MintError
impl CandidType for MintError
Auto Trait Implementations§
impl Freeze for MintError
impl RefUnwindSafe for MintError
impl Send for MintError
impl Sync for MintError
impl Unpin for MintError
impl UnsafeUnpin for MintError
impl UnwindSafe for MintError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more