Enum faktory::FaktoryError
source · pub enum FaktoryError {
Malformed {
desc: String,
},
Internal {
msg: String,
},
BadType {
expected: &'static str,
received: String,
},
BadResponse {
typed_as: &'static str,
error: &'static str,
bytes: Vec<u8>,
},
// some variants omitted
}
Expand description
The set of observable application-level errors when interacting with a Faktory server.
Variants§
Malformed
The server reports that an issued request was malformed.
Internal
The server responded with an error.
BadType
The server sent a response that did not match what was expected.
BadResponse
Fields
The server sent a malformed response.
Trait Implementations§
source§impl Debug for FaktoryError
impl Debug for FaktoryError
source§impl Display for FaktoryError
impl Display for FaktoryError
source§impl Fail for FaktoryError
impl Fail for FaktoryError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more