Module faktory::error

source ·
Expand description

Enumerates all errors that this crate may return.

Error is the top level error enum. Most consumers should only need to interact with this type. This is also where more generic errors such as I/O errors are placed, whereas the more specific errors (Connect and Protocol) are related to logic.

Connect describes errors specific to the connection logic, for example version mismatches or an invalid URL.

Protocol describes lower-level errors relating to communication with the faktory server. Typically, Protocol errors are the result of the server sending a response this client did not expect.

Enums§

  • Errors specific to connection logic.
  • The set of observable errors when interacting with a Faktory server.
  • The set of observable application-level errors when interacting with a Faktory server.