IErrorResponder.respond(target: ErrorResponderTarget,init: ErrorResponseInit): void
Writes an error response in the configured format.
target: ErrorResponderTarget
The context (state, response, request) to write into
init: ErrorResponseInit
The error to respond with