Struct rift::ApplicationError [] [src]

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

Encodes information about errors encountered within auto-generated code or within the user-implemented service handlers.

Fields

Specific Thrift application error kind.

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

Human-readable error message.

Methods

impl ApplicationError
[src]

Convenience constructor to create a new ApplicationError instance.

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. Read more