Closed katafrakt closed 4 years ago
This adds not_found option which was present in 1.x and allowed to specify custom handler for when route was not recognized.
not_found
It was a bit tempting to choose better name (default_handler perhaps?), but I decided to stick with original name for this PR.
default_handler
Thanks for the comments, @jodosha. I addressed them now. Let me know if I should squash the commits before merge or something.
This adds
not_found
option which was present in 1.x and allowed to specify custom handler for when route was not recognized.It was a bit tempting to choose better name (default_handler
perhaps?), but I decided to stick with original name for this PR.