//! Unified error type.
//!
//! Application-level problems (wrong input, missing resource) belong in the
//! response — use `Status::BadRequest`, `Status::NotFound`, etc. This type
//! surfaces infrastructure failures only: binding to a port, accepting a
//! connection. Things that mean the process should probably stop.
use fmt;
/// The error type returned by astor's fallible operations.
///
/// Not for 404s. Not for validation failures. Those are responses, not errors.
/// This is for infrastructure failures — port binding, connection acceptance.
/// The kind of failure where the right answer is probably to stop the process.
;