hapi-async-handler
hapi-async-handler copied to clipboard
Example of handling errors
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 👍