Struct rthrift::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]

[src]

Create a new ApplicationError.

Trait Implementations

impl Debug for ApplicationError
[src]

[src]

Formats the value using the given formatter.

impl Eq for ApplicationError
[src]

impl PartialEq for ApplicationError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Display for ApplicationError
[src]

[src]

Formats the value using the given formatter. Read more