Ewebmachine.Plug.ErrorAsException exception (ewebmachine v2.3.0) View Source

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.

Link to this section Summary

Link to this section Functions