[][src]Enum cosmwasm::errors::Error

pub enum Error {
    NullPointer {},
    ParseErr {
        source: Error,
        kind: &'static str,
    },
    SerializeErr {
        source: Error,
        kind: &'static str,
    },
    ContractErr {
        msg: &'static str,
    },
    DynContractErr {
        msg: String,
    },
    Utf8Err {
        source: Utf8Error,
    },
    Unauthorized {},
}

Variants

NullPointer

Fields of NullPointer

ParseErr

Fields of ParseErr

source: Errorkind: &'static str
SerializeErr

Fields of SerializeErr

source: Errorkind: &'static str
ContractErr

Fields of ContractErr

msg: &'static str
DynContractErr

Fields of DynContractErr

msg: String
Utf8Err

Fields of Utf8Err

source: Utf8Error
Unauthorized

Fields of Unauthorized

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error where
    Self: Debug + Display
[src]

impl ErrorCompat for Error[src]

impl IntoError<Error> for NullPointer where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for ParseErr<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<&'static str>, 
[src]

type Source = Error

The underlying error

impl<__T0> IntoError<Error> for SerializeErr<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<&'static str>, 
[src]

type Source = Error

The underlying error

impl<__T0> IntoError<Error> for ContractErr<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<&'static str>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for DynContractErr<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Utf8Err where
    Error: Error + ErrorCompat
[src]

type Source = Utf8Error

The underlying error

impl IntoError<Error> for Unauthorized where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]