Enum odra_modules::erc721::errors::Error
source · pub enum Error {
InvalidTokenId = 30_000,
NotAnOwnerOrApproved = 30_001,
ApprovalToCurrentOwner = 30_002,
ApproveToCaller = 30_003,
TransferFailed = 30_004,
}Expand description
Possible errors in the context of Erc721 token.
Variants§
InvalidTokenId = 30_000
Token is invalid in the given context or does not exist.
NotAnOwnerOrApproved = 30_001
Address in not eligible to operate on the token.
ApprovalToCurrentOwner = 30_002
The owner cannot be approved.
ApproveToCaller = 30_003
The caller cannot approve self.
TransferFailed = 30_004
Token transfer ends with an error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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