Skip to content

Error Handling

Nubie provides a flexible mechanism for handling application errors through the setErrorHandler() method.
This allows you to define a custom error handler or rely on Nubie’s default error response format.

Parametres

ParameterTypeRequiredDescription
errorHandlerFunctionNoCustom error handling function. Receives the error, request, response, and next function.