Spotify Web API v0.4.0 Spotify.Error View Source
An object containing error information.
Link to this section Summary
Types
A short description of the cause of the error
The HTTP status code (also returned in the response header; see Response Status Codes for more information)
The full Error object
Link to this section Types
A short description of the cause of the error.
The HTTP status code (also returned in the response header; see Response Status Codes for more information).
t() :: %Spotify.Error{message: Spotify.Error.message() | nil, status: Spotify.Error.status() | nil}
The full Error object.
Contains all the values listed in the Spotify Docs
Link to this section Functions
Returns each Object Models’ model for json decoding.
This callback is passed into Poison.decode
:as
option for formatting
incoming json as structs. Each Object Model should implement it, and nest
other Object Models’ as
functions in their own as needed.
Callback implementation for Spotify.ObjectModel.as/0
.