Struct thrift::ApplicationError [−][src]
pub struct ApplicationError {
pub kind: ApplicationErrorKind,
pub message: String,
}
Expand description
Information about errors in auto-generated code or in user-implemented service handlers.
Fields
kind: ApplicationErrorKind
Application error variant.
If a specific ApplicationErrorKind
does not apply use
ApplicationErrorKind::Unknown
.
message: String
Human-readable error message.
Implementations
Create a new ApplicationError
.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.