Glossary: Building APIs with Node.js
Error handler
Also written: setErrorHandler, setNotFoundHandler
A function that decides what every error turns into. kc-api's passes client errors through and hides bugs behind a plain 500.
Glossary: Building APIs with Node.js
Also written: setErrorHandler, setNotFoundHandler
A function that decides what every error turns into. kc-api's passes client errors through and hides bugs behind a plain 500.