Expand description
The error-handler node — turns accumulated gateway errors into a JSON
error response. Typically wired to other nodes’ error ports.
Structs§
- Error
Handler Plugin - Overwrites
Context.responsewith a configured status code and a body rendered from a template. The template may reference the most recent entry inContext.errorsvia{{error.code}},{{error.message}}, and{{error.node_id}}placeholders; the content type is forced toapplication/json.