Struct thrift::ApplicationError [] [src]

pub struct ApplicationError {
    pub kind: ApplicationErrorKind,
    pub message: String,
}

Information about errors in auto-generated code or in user-implemented service handlers.

Fields

Application error variant.

If a specific ApplicationErrorKind does not apply use ApplicationErrorKind::Unknown.

Human-readable error message.

Methods

impl ApplicationError
[src]

Create a new ApplicationError.

Trait Implementations

impl Debug for ApplicationError
[src]

Formats the value using the given formatter.

impl Display for ApplicationError
[src]

Formats the value using the given formatter.