FleetApi.Error
Defines a FleetApi.Error
struct, representing erros that may be returned
when making Fleet API calls.
The following fields are public:
code
- The HTTP status code of the response.message
- A human-readable error message explaining the failure.
Summary↑
from_map(error_map) |
Types ↑
t :: %FleetApi.Error{code: term, message: term}
Functions
Specs:
- from_map(%{String.t => any}) :: FleetApi.Error.t