macro_rules! not_found {
($ctx:expr $(,)?) => { ... };
($ctx:expr, $detail:expr $(,)?) => { ... };
}Expand description
A 404, optionally saying what was not found.
let err = ash_jsonapi::not_found!(ctx);
let err = ash_jsonapi::not_found!(ctx, "no todo with that id");