vibe.d beta banner
get vibe.d
0.10.0

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

Struct RestErrorInformation

Contains detailed informations about the error

struct RestErrorInformation ;

Used by the error handler (RestInterfaceSettings.errorHandler) to return the correct information(s) to clients.

Fields

NameTypeDescription
exception ExceptionIf triggered by an exception, this contains the catched exception object.
statusCode HTTPStatusThe status code that the handler should send in the reply
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.