Enum frac_missions::errors::ErrorCode
source · #[repr(u32)]pub enum ErrorCode {
Show 23 variants
InvalidProof,
InvalidRuleset,
InvalidMetadata,
InvalidCreators,
ReservedType,
TypeUsed,
InvalidType,
AlreadyInitialized,
InvalidChance,
RewardsAlreadyCalculated,
AlreadyRecalled,
InvalidUserResource,
NotEnoughResource,
MissionNotEnded,
RewardsNotCollected,
RewardsAlreadyCollected,
InvalidPubkey,
Overflow,
AlreadyMigrated,
EventOver,
EventNotStarted,
MissionNotLive,
InvalidPermission,
}Variants§
InvalidProof
InvalidRuleset
InvalidMetadata
InvalidCreators
ReservedType
TypeUsed
InvalidType
AlreadyInitialized
InvalidChance
RewardsAlreadyCalculated
AlreadyRecalled
InvalidUserResource
NotEnoughResource
MissionNotEnded
RewardsNotCollected
RewardsAlreadyCollected
InvalidPubkey
Overflow
AlreadyMigrated
EventOver
EventNotStarted
MissionNotLive
InvalidPermission
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