RestErrorHandler

Type of the optional handler used to render custom replies in case of errors.

The error handler for a REST interface can be set via RestInterfaceSettings.errorHandler.

alias RestErrorHandler = void delegate
(
HTTPServerRequest
,
HTTPServerResponse
,)
@safe

Meta