[][src]Enum transact::handler::ContextError

pub enum ContextError {
    AuthorizationError(String),
    ResponseAttributeError(String),
    TransactionReceiptError(String),
    SerializationError(Box<dyn Error>),
    SendError(Box<dyn Error>),
    ReceiveError(Box<dyn Error>),
}

Variants

AuthorizationError(String)

Returned for an authorization error

ResponseAttributeError(String)

Returned when a error occurs due to missing info in a response

TransactionReceiptError(String)

Returned when there is an issues setting receipt data or events.

SerializationError(Box<dyn Error>)

Returned when a ProtobufError is returned during serializing

SendError(Box<dyn Error>)

Returned when an error is returned when sending a message

ReceiveError(Box<dyn Error>)

Returned when an error is returned when sending a message

Trait Implementations

impl From<ContextManagerError> for ContextError[src]

impl From<ContextError> for ApplyError[src]

impl Debug for ContextError[src]

impl Display for ContextError[src]

impl Error for ContextError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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 = Infallible

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self