Enum thrift::ApplicationErrorKind [−][src]
pub enum ApplicationErrorKind {
Unknown,
UnknownMethod,
InvalidMessageType,
WrongMethodName,
BadSequenceId,
MissingResult,
InternalError,
ProtocolError,
InvalidTransform,
InvalidProtocol,
UnsupportedClientType,
}
Expand description
Auto-generated or user-implemented code error categories.
This list may grow, and it is not recommended to match against it.
Variants
Catch-all application error.
Made service call to an unknown service method.
Received an unknown Thrift message type. That is, not one of the
thrift::protocol::TMessageType
variants.
Method name in a service reply does not match the name of the receiving service method.
Received an out-of-order Thrift message.
Service reply is missing required fields.
Auto-generated code failed unexpectedly.
Thrift protocol error. When possible use Error::ProtocolError
with a
specific ProtocolErrorKind
instead.
Unknown. Included only for compatibility with existing Thrift implementations.
Thrift endpoint requested, or is using, an unsupported encoding.
Thrift endpoint requested, or is using, an unsupported auto-generated client type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ApplicationErrorKind
impl Send for ApplicationErrorKind
impl Sync for ApplicationErrorKind
impl Unpin for ApplicationErrorKind
impl UnwindSafe for ApplicationErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more