Skip to content
This repository has been archived by the owner on Oct 23, 2018. It is now read-only.

Back end development

Sean edited this page Oct 8, 2018 · 3 revisions

If you are writing an async request handler, wrap the async function in asyncHandler so if the promise is rejected the error is rethrown as a normal, synchronous Error.

Clone this wiki locally