Enumerations | |
| enum | sp_error { SP_ERROR_OK = 0, SP_ERROR_BAD_API_VERSION = 1, SP_ERROR_API_INITIALIZATION_FAILED = 2, SP_ERROR_TRACK_NOT_PLAYABLE = 3, SP_ERROR_RESOURCE_NOT_LOADED = 4, SP_ERROR_BAD_APPLICATION_KEY = 5, SP_ERROR_BAD_USERNAME_OR_PASSWORD = 6, SP_ERROR_USER_BANNED = 7, SP_ERROR_UNABLE_TO_CONTACT_SERVER = 8, SP_ERROR_CLIENT_TOO_OLD = 9, SP_ERROR_OTHER_PERMANENT = 10, SP_ERROR_BAD_USER_AGENT = 11, SP_ERROR_MISSING_CALLBACK = 12, SP_ERROR_INVALID_INDATA = 13, SP_ERROR_INDEX_OUT_OF_RANGE = 14, SP_ERROR_USER_NEEDS_PREMIUM = 15, SP_ERROR_OTHER_TRANSIENT = 16, SP_ERROR_IS_LOADING = 17, SP_ERROR_NO_STREAM_AVAILABLE = 18, SP_ERROR_PERMISSION_DENIED = 19, SP_ERROR_INBOX_IS_FULL = 20 } |
Functions | |
| const char * | sp_error_message (sp_error error) |
| enum sp_error |
Error codes returned by various functions
| const char* sp_error_message | ( | sp_error | error | ) |
Convert a numeric libspotify error code to a text string
| [in] | error | The error code to lookup |