[−][src]Enum casperlabs_types::contracts::Error
Set of errors which may happen when working with contract headers.
Variants
Attempt to override an existing or previously existing version with a new header (this is not allowed to ensure immutability of a given version).
Attempted to disable a contract that does not exist.
Attempted to create a user group which already exists (use the update function to change an existing user group).
Attempted to add a new user group which exceeds the allowed maximum number of groups.
Attempted to add a new URef to a group, which resulted in the total number of URefs across all user groups to exceed the allowed maximum.
Attempted to remove a URef from a group, which does not exist in the group.
Attempted to remove unknown URef from the group.
Group is use by at least one active contract.
URef already exists in given group.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for ApiError
[src]
impl PartialEq<Error> for Error
[src]
impl StructuralPartialEq for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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, 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.
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>,