add is_not_found functor to error; tweak status code matcher
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
a5822ebc27
commit
f7ce4db0b0
3 changed files with 30 additions and 7 deletions
src/core
|
@ -2,7 +2,11 @@ mod debug_inspect;
|
|||
mod log_debug_err;
|
||||
mod log_err;
|
||||
mod map_expect;
|
||||
mod not_found;
|
||||
|
||||
pub use self::{debug_inspect::DebugInspect, log_debug_err::LogDebugErr, log_err::LogErr, map_expect::MapExpect};
|
||||
pub use self::{
|
||||
debug_inspect::DebugInspect, log_debug_err::LogDebugErr, log_err::LogErr, map_expect::MapExpect,
|
||||
not_found::NotFound,
|
||||
};
|
||||
|
||||
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue