macro_rules! reject {
($ctx:ident, $validation:expr $(,)?) => { ... };
($ctx:ident, $key:literal, $message:literal $(,)?) => { ... };
($ctx:ident, $key:literal, $err:expr $(,)?) => { ... };
($ctx:ident, $kind:ident, $message:literal $(,)?) => { ... };
($ctx:ident, $kind:ident, $err:expr $(,)?) => { ... };
($ctx:ident, $kind:ident, $fmt:expr, $($arg:tt)+) => { ... };
}
Expand description
Returns early with a Rejection
.