vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Alias RestErrorHandler

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

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

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

Authors

Sönke Ludwig, Михаил Страшун, Mathias 'Geod24' Lang

Copyright

© 2012-2018 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.