tophat
macro_rules! glitch { () => { ... }; ($code:expr) => { ... }; ($code:expr, $context:expr) => { ... }; }
Convenience macro for creating a Glitch.
glitch!(): 500 glitch!(StatusCode::BadRequest): 400 glitch!(StatusCode::BadRequest, "custom error"): 400 with message in body
glitch!()
glitch!(StatusCode::BadRequest)
glitch!(StatusCode::BadRequest, "custom error")