macro_rules! invalid_parameter {
($ctx:expr, $detail:expr $(,)?) => { ... };
($ctx:expr, $detail:expr, $param:expr $(,)?) => { ... };
}Expand description
A 400 naming the query parameter at fault.
let err = ash_jsonapi::invalid_parameter!(ctx, "cannot sort on `secret`", "sort");