Enum casper_types::system_contract_errors::auction::Error [−][src]
Errors which can occur while executing the Auction contract.
Variants
Unable to find named key in the contract's named keys.
Given named key contains invalid variant.
Value under an uref does not exist. This means the installer contract didn't work properly.
ABI serialization issue while reading or writing.
Triggered when contract was unable to transfer desired amount of tokens into a bid purse.
User passed invalid amount of tokens which might result in wrong values after calculation.
Unable to find a bid by account hash in active_bids
map.
Validator's account hash was not found in the map.
Delegator's account hash was not found in the map.
Storage problem.
Raised when system is unable to bond.
Raised when system is unable to unbond.
Raised when Mint contract is unable to release founder stake.
Raised when the system is unable to determine purse balance.
Raised when an entry point is called from invalid account context.
Raised whenever a validator's funds are still locked in but an attempt to withdraw was made.
Raised when caller is not the system account.
Raised when function is supplied a public key that does match the caller's.
Validator is not not bonded.
Unable to create purse.
Attempted to unbond an amount which was too large.
Attempted to bond with a stake which was too small.
Raised when rewards are to be distributed to delegators, but the validator has no delegations.
The validators returned by the consensus component should match current era validators when distributing rewards.
Failed to mint reward tokens.
Invalid number of validator slots.
Failed to reduce total supply.
Triggered when contract was unable to transfer desired amount of tokens into a delegators purse.
Triggered when contract was unable to perform a transfer to distribute validators reward.
Triggered when contract was unable to perform a transfer to distribute delegators rewards.
Failed to transfer desired amount while withdrawing delegators reward.
Failed to transfer desired amount while withdrawing validators reward.
Failed to transfer desired amount into unbonding purse.
Failed to record era info.
Failed to create a crate::CLValue
.
Missing seigniorage recipients for given era.
Failed to transfer funds.
Trait Implementations
impl CLTyped for Error
[src]
impl Clone for Error
[src]
impl Copy for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Eq for Error
[src]
impl Fail for Error
[src]
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl From<Error> for ApiError
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl FromBytes for Error
[src]
fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>
[src]
fn from_vec(bytes: Vec<u8>) -> Result<(Self, Vec<u8>), Error>
[src]
impl PartialEq<Error> for Error
[src]
impl StructuralEq for Error
[src]
impl StructuralPartialEq for Error
[src]
impl ToBytes for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl UnwindSafe for Error
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,