Errors handling
Node.js v13.5+ new argument params help you trace warnings and errors
--trace-uncaught
--trace-warnings
Example, node --trace-uncaught server.js
Error handling
Only async route functions and middlewares are handled
GET
http://localhost:8000/error-route
Path Parameters
Name | Type | Description |
---|---|---|
string |
Not found handler
GET
http://localhost:8000/anyUrl
Path Parameters
Name | Type | Description |
---|---|---|
string |
Validation error handler
Validation error handler unavailable for pro-slim version
GET
http://locahost:8000/validate-error
Request Body
Name | Type | Description |
---|---|---|
foo | string | bar |
Last updated