HttpError
enum HttpError
An Error will be returned if something goes wrong with an HTTP request.
case BadRequest
case DecodingFailure
Type members
Enum entries
A BadRequest means that the provide request was not valid for some reason.
A BadRequest means that the provide request was not valid for some reason.
- Value parameters:
- msg
error message
A BadPayload means that the body of the response could not be parsed correctly.
A BadPayload means that the body of the response could not be parsed correctly.
- Value parameters:
- decodingError
debugging message that explains what went wrong
- response
the response