ewebmachine v2.1.3 Ewebmachine.Plug.ErrorAsException exception
This plug checks the current response status. If it is an error, raise a plug exception with the status code and the HTTP error name as the message. If this response body is not void, use it as the exception message.
Summary
Functions
Callback implementation for Exception.exception/1
Callback implementation for Exception.message/1
Functions
Callback implementation for Exception.exception/1
.
Callback implementation for Exception.message/1
.