Enum hpl_asset_assembler::errors::ErrorCode
source · #[repr(u32)]pub enum ErrorCode {
Show 18 variants
Overflow,
Unauthorized,
BlockTypeMismatch,
RequiredBlockImage,
InvalidBlockType,
InvalidBlockDefinition,
InvalidMetadata,
InvalidTokenForBlockDefinition,
NFTAlreadyMinted,
BlockExistsForNFT,
BlockDoesNotExistsForNFT,
InvalidUniqueConstraint,
UniqueConstraintNotProvided,
DelegateAccountNotProvided,
DepositAccountNotProvided,
NFTNotMinted,
NFTNotBurnable,
InitialArtGenerated,
}
Variants§
Overflow
BlockTypeMismatch
RequiredBlockImage
InvalidBlockType
InvalidBlockDefinition
InvalidMetadata
InvalidTokenForBlockDefinition
NFTAlreadyMinted
BlockExistsForNFT
BlockDoesNotExistsForNFT
InvalidUniqueConstraint
UniqueConstraintNotProvided
DelegateAccountNotProvided
DepositAccountNotProvided
NFTNotMinted
NFTNotBurnable
InitialArtGenerated
Implementations§
Trait Implementations§
impl Copy for ErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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