Thrower middleware
Thrower middleware
The throwermw() middleware will throw Errors when a response returns with a status in the 400 to 599 tange.
Usage
Configuration Options
You can set custom handling for specific status codes, like this:
The throwermw() middleware will throw Errors when a response returns with a status in the 400 to 599 tange.
You can set custom handling for specific status codes, like this: