hapi-async-handler icon indicating copy to clipboard operation
hapi-async-handler copied to clipboard

Example of handling errors

Open knownasilya opened this issue 9 years ago • 0 comments

I know you can wrap await responses in a try/catch, but is there another way to handle them in a generic way, like middleware? Would love examples of both in the readme 👍

knownasilya avatar Aug 19 '16 15:08 knownasilya