[−][src]Macro tophat::glitch_code
This one panics!
Convenience macro for creating a Glitch.
glitch_code!()
: 500
glitch_code!(400)
: 400
glitch_code!(400, "custom error")
: 400 with message in body
This one panics!
Convenience macro for creating a Glitch.
glitch_code!()
: 500
glitch_code!(400)
: 400
glitch_code!(400, "custom error")
: 400 with message in body