[][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]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0[src]

Gets the TypeId of self

Auto Trait Implementations

impl !Send for ContextError

impl !Sync for ContextError

Blanket Implementations

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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