tokensmith / otter

micro web framework for servlet api 4.0.1
MIT License
5 stars 0 forks source link

exception to handler #115

Open tmackenzie opened 5 years ago

tmackenzie commented 5 years ago

Betweens or Resources should be able to throw an Exception or return an Either that would result in a error handler being executed. These would be for any status code.

Candidate is add, statusCode to HaltException.