PandoraApiErrorCode enum Null safety

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true, valueField: 'value')

Constructors

PandoraApiErrorCode(int value, String description)
const

Values

unknown → const PandoraApiErrorCode

An unknown API error code.

This is unique to the library, and not defined by Pandora. It is used when the library encounters an unknown error code.

PandoraApiErrorCode(-1000, 'UNKNOWN')
internal → const PandoraApiErrorCode
PandoraApiErrorCode(0, 'INTERNAL')
maintenanceMode → const PandoraApiErrorCode
PandoraApiErrorCode(1, 'MAINTENANCE_MODE')
urlParamMissingMethod → const PandoraApiErrorCode
PandoraApiErrorCode(2, 'URL_PARAM_MISSING_METHOD')
urlParamMissingAuthToken → const PandoraApiErrorCode
PandoraApiErrorCode(3, 'URL_PARAM_MISSING_AUTH_TOKEN')
urlParamMissingPartnerId → const PandoraApiErrorCode
PandoraApiErrorCode(4, 'URL_PARAM_MISSING_PARTNER_ID')
urlParamMissingUserId → const PandoraApiErrorCode
PandoraApiErrorCode(5, 'URL_PARAM_MISSING_USER_ID')
secureProtocolRequired → const PandoraApiErrorCode
PandoraApiErrorCode(6, 'SECURE_PROTOCOL_REQUIRED')
certificateRequired → const PandoraApiErrorCode
PandoraApiErrorCode(7, 'CERTIFICATE_REQUIRED')
parameterTypeMismatch → const PandoraApiErrorCode
PandoraApiErrorCode(8, 'PARAMETER_TYPE_MISMATCH')
parameterMissing → const PandoraApiErrorCode
PandoraApiErrorCode(9, 'PARAMETER_MISSING')
parameterValueInvalid → const PandoraApiErrorCode
PandoraApiErrorCode(10, 'PARAMETER_VALUE_INVALID')
apiVersionNotSupported → const PandoraApiErrorCode
PandoraApiErrorCode(11, 'API_VERSION_NOT_SUPPORTED')
licensingRestrictions → const PandoraApiErrorCode
PandoraApiErrorCode(12, 'LICENSING_RESTRICTIONS')
timeOutOfSync → const PandoraApiErrorCode
PandoraApiErrorCode(13, 'TIME_OUT_OF_SYNC')
methodNotFound → const PandoraApiErrorCode
PandoraApiErrorCode(14, 'METHOD_NOT_FOUND')
readOnlyMode → const PandoraApiErrorCode
PandoraApiErrorCode(1000, 'READ_ONLY_MODE')
invalidAuthToken → const PandoraApiErrorCode
PandoraApiErrorCode(1001, 'INVALID_AUTH_TOKEN')
invalidLogin → const PandoraApiErrorCode
PandoraApiErrorCode(1002, 'INVALID_LOGIN')
userNotActive → const PandoraApiErrorCode
PandoraApiErrorCode(1003, 'USER_NOT_ACTIVE')
userNotAuthorized → const PandoraApiErrorCode
PandoraApiErrorCode(1004, 'USER_NOT_AUTHORIZED')
maxStationsReached → const PandoraApiErrorCode
PandoraApiErrorCode(1005, 'MAX_STATIONS_REACHED')
stationDoesNotExist → const PandoraApiErrorCode
PandoraApiErrorCode(1006, 'STATION_DOES_NOT_EXIST')
complimentaryPeriodAlreadyInUse → const PandoraApiErrorCode
PandoraApiErrorCode(1007, 'COMPLIMENTARY_PERIOD_ALREADY_IN_USE')
callNotAllowed → const PandoraApiErrorCode
PandoraApiErrorCode(1008, 'CALL_NOT_ALLOWED')
deviceNotFound → const PandoraApiErrorCode
PandoraApiErrorCode(1009, 'DEVICE_NOT_FOUND')
partnerNotAuthorized → const PandoraApiErrorCode
PandoraApiErrorCode(1010, 'PARTNER_NOT_AUTHORIZED')
invalidUsername → const PandoraApiErrorCode
PandoraApiErrorCode(1011, 'INVALID_USERNAME')
invalidPassword → const PandoraApiErrorCode
PandoraApiErrorCode(1012, 'INVALID_PASSWORD')
usernameAlreadyExists → const PandoraApiErrorCode
PandoraApiErrorCode(1013, 'USERNAME_ALREADY_EXISTS')
deviceAlreadyAssociatedToAccount → const PandoraApiErrorCode
PandoraApiErrorCode(1014, 'DEVICE_ALREADY_ASSOCIATED_TO_ACCOUNT')
upgradeDeviceModelInvalid → const PandoraApiErrorCode
PandoraApiErrorCode(1015, 'UPGRADE_DEVICE_MODEL_INVALID')
invalidUsername2 → const PandoraApiErrorCode
PandoraApiErrorCode(1016, 'INVALID_USERNAME')
explicitPinIncorrect → const PandoraApiErrorCode
PandoraApiErrorCode(1018, 'EXPLICIT_PIN_INCORRECT')
explicitPinMalformed → const PandoraApiErrorCode
PandoraApiErrorCode(1020, 'EXPLICIT_PIN_MALFORMED')
deviceModelInvalid → const PandoraApiErrorCode
PandoraApiErrorCode(1023, 'DEVICE_MODEL_INVALID')
zipCodeInvalid → const PandoraApiErrorCode
PandoraApiErrorCode(1024, 'ZIP_CODE_INVALID')
birthYearInvalid → const PandoraApiErrorCode
PandoraApiErrorCode(1025, 'BIRTH_YEAR_INVALID')
birthYearTooYoung → const PandoraApiErrorCode
PandoraApiErrorCode(1026, 'BIRTH_YEAR_TOO_YOUNG')
invalidGender → const PandoraApiErrorCode
PandoraApiErrorCode(1027, 'INVALID_GENDER')
invalidCountryCode → const PandoraApiErrorCode
PandoraApiErrorCode(1028, 'INVALID_COUNTRY_CODE')
invalidEmailLogin → const PandoraApiErrorCode
PandoraApiErrorCode(1029, 'INVALID_EMAIL_LOGIN')
deviceDisabled → const PandoraApiErrorCode
PandoraApiErrorCode(1034, 'DEVICE_DISABLED')
dailyTrialLimitReached → const PandoraApiErrorCode
PandoraApiErrorCode(1035, 'DAILY_TRIAL_LIMIT_REACHED')
invalidSponsor → const PandoraApiErrorCode
PandoraApiErrorCode(1036, 'INVALID_SPONSOR')
userAlreadyUsedTrial → const PandoraApiErrorCode
PandoraApiErrorCode(1037, 'USER_ALREADY_USED_TRIAL')
contentHasExpired → const PandoraApiErrorCode
PandoraApiErrorCode(1038, 'CONTENT_HAS_EXPIRED')
endOfPlaylist → const PandoraApiErrorCode
PandoraApiErrorCode(1039, 'END_OF_PLAYLIST')
apiUnsupportedFunctionality → const PandoraApiErrorCode
PandoraApiErrorCode(1040, 'API_UNSUPPORTED_FUNCTIONALITY')
commentTooLong → const PandoraApiErrorCode
PandoraApiErrorCode(1041, 'COMMENT_TOO_LONG')
invalidFacebookAccountAssociation → const PandoraApiErrorCode
PandoraApiErrorCode(1042, 'INVALID_FACEBOOK_ACCOUNT_ASSOCIATION')
userAlreadyInValueExchange → const PandoraApiErrorCode
PandoraApiErrorCode(1043, 'USER_ALREADY_IN_VALUE_EXCHANGE')
valueExchangeBadOfferName → const PandoraApiErrorCode
PandoraApiErrorCode(1044, 'VALUE_EXCHANGE_BAD_OFFER_NAME')
friendLimitExceeded → const PandoraApiErrorCode
PandoraApiErrorCode(1045, 'FRIEND_LIMIT_EXCEEDED')
ampNoArtistPermissions → const PandoraApiErrorCode
PandoraApiErrorCode(1050, 'AMP_NO_ARTIST_PERMISSIONS')
ampNotOwner → const PandoraApiErrorCode
PandoraApiErrorCode(1051, 'AMP_NOT_OWNER')
ampInvalidInput → const PandoraApiErrorCode
PandoraApiErrorCode(1052, 'AMP_INVALID_INPUT')
ampFeatureDisabled → const PandoraApiErrorCode
PandoraApiErrorCode(1053, 'AMP_FEATURE_DISABLED')
ampNoAvailableInventory → const PandoraApiErrorCode
PandoraApiErrorCode(1054, 'AMP_NO_AVAILABLE_INVENTORY')
ampCtaUrlInvalid → const PandoraApiErrorCode
PandoraApiErrorCode(1055, 'AMP_CTA_URL_INVALID')
ampCtaBlacklisted → const PandoraApiErrorCode
PandoraApiErrorCode(1056, 'AMP_CTA_BLACKLISTED')
invalidPasswordResetToken → const PandoraApiErrorCode
PandoraApiErrorCode(1057, 'INVALID_PASSWORD_RESET_TOKEN')
wrongPassword → const PandoraApiErrorCode
PandoraApiErrorCode(1058, 'WRONG_PASSWORD')
trackReplayUnavailable → const PandoraApiErrorCode
PandoraApiErrorCode(1065, 'TRACK_REPLAY_UNAVAILABLE')
listenerIneligilbleToReplay → const PandoraApiErrorCode
PandoraApiErrorCode(1066, 'LISTENER_INELIGILBLE_TO_REPLAY')
flexOnDemandRightUnavailable → const PandoraApiErrorCode
PandoraApiErrorCode(1069, 'FLEX_ON_DEMAND_RIGHT_UNAVAILABLE')
valueExchangeException → const PandoraApiErrorCode
PandoraApiErrorCode(1070, 'VALUE_EXCHANGE_EXCEPTION')
flexInsufficientRewardReplays → const PandoraApiErrorCode
PandoraApiErrorCode(1071, 'FLEX_INSUFFICIENT_REWARD_REPLAYS')
authExchangeDisabled → const PandoraApiErrorCode
PandoraApiErrorCode(1072, 'AUTH_EXCHANGE_DISABLED')
authExchangeFailed → const PandoraApiErrorCode
PandoraApiErrorCode(1073, 'AUTH_EXCHANGE_FAILED')
authExchangeLoginAccountMismatched → const PandoraApiErrorCode
PandoraApiErrorCode(1074, 'AUTH_EXCHANGE_LOGIN_ACCOUNT_MISMATCHED')
authExchangeAccesstokenDisabled → const PandoraApiErrorCode
PandoraApiErrorCode(1075, 'AUTH_EXCHANGE_ACCESSTOKEN_DISABLED')
authExchangeAccesstokenFailed → const PandoraApiErrorCode
PandoraApiErrorCode(1076, 'AUTH_EXCHANGE_ACCESSTOKEN_FAILED')
authExchangeAccesstokenLidMismatched → const PandoraApiErrorCode
PandoraApiErrorCode(1077, 'AUTH_EXCHANGE_ACCESSTOKEN_LID_MISMATCHED')
plSkipLimitReached → const PandoraApiErrorCode
PandoraApiErrorCode(2000, 'PL_SKIP_LIMIT_REACHED')
plStationDelete → const PandoraApiErrorCode
PandoraApiErrorCode(2001, 'PL_STATION_DELETE')
plTrackRating → const PandoraApiErrorCode
PandoraApiErrorCode(2002, 'PL_TRACK_RATING')
plSearch → const PandoraApiErrorCode
PandoraApiErrorCode(2003, 'PL_SEARCH')
plStationCreate → const PandoraApiErrorCode
PandoraApiErrorCode(2004, 'PL_STATION_CREATE')
plBookmark → const PandoraApiErrorCode
PandoraApiErrorCode(2005, 'PL_BOOKMARK')
plTrackExplain → const PandoraApiErrorCode
PandoraApiErrorCode(2006, 'PL_TRACK_EXPLAIN')
radioContentHasExpiredOnStationCreate → const PandoraApiErrorCode
PandoraApiErrorCode(3000, 'RADIO_CONTENT_HAS_EXPIRED_ON_STATION_CREATE')
radioStationCodeInvalidToken → const PandoraApiErrorCode
PandoraApiErrorCode(3001, 'RADIO_STATION_CODE_INVALID_TOKEN')
radioJsonError → const PandoraApiErrorCode
PandoraApiErrorCode(3002, 'RADIO_JSON_ERROR')
radioNetworkError → const PandoraApiErrorCode
PandoraApiErrorCode(3003, 'RADIO_NETWORK_ERROR')
radioAudioError → const PandoraApiErrorCode
PandoraApiErrorCode(3004, 'RADIO_AUDIO_ERROR')
radioHttpResponseError → const PandoraApiErrorCode
PandoraApiErrorCode(3005, 'RADIO_HTTP_RESPONSE_ERROR')
radioRemoteError → const PandoraApiErrorCode
PandoraApiErrorCode(3006, 'RADIO_REMOTE_ERROR')
radioUnauthorizedHttpResponseError → const PandoraApiErrorCode
PandoraApiErrorCode(3007, 'RADIO_UNAUTHORIZED_HTTP_RESPONSE_ERROR')
radioHttpBadRequestError → const PandoraApiErrorCode
PandoraApiErrorCode(3008, 'RADIO_HTTP_BAD_REQUEST_ERROR')
apsSourceEnded → const PandoraApiErrorCode
PandoraApiErrorCode(3009, 'APS_SOURCE_ENDED')
radioInvalidPartnerAuthToken → const PandoraApiErrorCode
PandoraApiErrorCode(3010, 'RADIO_INVALID_PARTNER_AUTH_TOKEN')
radioForbiddenHttpResponseError → const PandoraApiErrorCode
PandoraApiErrorCode(3011, 'RADIO_FORBIDDEN_HTTP_RESPONSE_ERROR')
thumbprintRadioIneligible → const PandoraApiErrorCode
PandoraApiErrorCode(4000, 'THUMBPRINT_RADIO_INELIGIBLE')
playlaterOverflow → const PandoraApiErrorCode
PandoraApiErrorCode(32001, 'PLAYLATER_OVERFLOW')
profileInvalidPandoraId → const PandoraApiErrorCode
PandoraApiErrorCode(98000, 'PROFILE_INVALID_PANDORA_ID')
profileItemLimitTooHigh → const PandoraApiErrorCode
PandoraApiErrorCode(98001, 'PROFILE_ITEM_LIMIT_TOO_HIGH')
profileAnnotationLimitTooHigh → const PandoraApiErrorCode
PandoraApiErrorCode(98002, 'PROFILE_ANNOTATION_LIMIT_TOO_HIGH')
profileInvalidPagingParam → const PandoraApiErrorCode
PandoraApiErrorCode(98003, 'PROFILE_INVALID_PAGING_PARAM')
profileListenerNotFound → const PandoraApiErrorCode
PandoraApiErrorCode(98004, 'PROFILE_LISTENER_NOT_FOUND')
privateProfile → const PandoraApiErrorCode
PandoraApiErrorCode(98005, 'PRIVATE_PROFILE')
profileFriendLimitExceeded → const PandoraApiErrorCode
PandoraApiErrorCode(98007, 'PROFILE_FRIEND_LIMIT_EXCEEDED')
playlistVersionMismatch → const PandoraApiErrorCode
PandoraApiErrorCode(99000, 'PLAYLIST_VERSION_MISMATCH')
playlistNotFound → const PandoraApiErrorCode
PandoraApiErrorCode(99001, 'PLAYLIST_NOT_FOUND')
playlistTrackLimitReached → const PandoraApiErrorCode
PandoraApiErrorCode(99002, 'PLAYLIST_TRACK_LIMIT_REACHED')
playlistBadRange → const PandoraApiErrorCode
PandoraApiErrorCode(99003, 'PLAYLIST_BAD_RANGE')
invalidTrackId → const PandoraApiErrorCode
PandoraApiErrorCode(99004, 'INVALID_TRACK_ID')
playlistLimitTooHigh → const PandoraApiErrorCode
PandoraApiErrorCode(99005, 'PLAYLIST_LIMIT_TOO_HIGH')
collectionsBadCursor → const PandoraApiErrorCode
PandoraApiErrorCode(99006, 'COLLECTIONS_BAD_CURSOR')
collectionsBadView → const PandoraApiErrorCode
PandoraApiErrorCode(99007, 'COLLECTIONS_BAD_VIEW')
retryLater → const PandoraApiErrorCode
PandoraApiErrorCode(99008, 'RETRY_LATER')
playlistEditInvalidOldState → const PandoraApiErrorCode
PandoraApiErrorCode(99009, 'PLAYLIST_EDIT_INVALID_OLD_STATE')
badRequestMissingParameter → const PandoraApiErrorCode
PandoraApiErrorCode(99010, 'BAD_REQUEST_MISSING_PARAMETER')
accessDenied → const PandoraApiErrorCode
PandoraApiErrorCode(99011, 'ACCESS_DENIED')
invalidSinceVersion → const PandoraApiErrorCode
PandoraApiErrorCode(99012, 'INVALID_SINCE_VERSION')
invalidItemId → const PandoraApiErrorCode
PandoraApiErrorCode(99013, 'INVALID_ITEM_ID')
collectionsSortedCursorExpired → const PandoraApiErrorCode
PandoraApiErrorCode(99014, 'COLLECTIONS_SORTED_CURSOR_EXPIRED')
linkedPlaylistAlreadyCreated → const PandoraApiErrorCode
PandoraApiErrorCode(99015, 'LINKED_PLAYLIST_ALREADY_CREATED')
missingDeviceInfo → const PandoraApiErrorCode
PandoraApiErrorCode(99016, 'MISSING_DEVICE_INFO')
invalidPandoraId → const PandoraApiErrorCode
PandoraApiErrorCode(99017, 'INVALID_PANDORA_ID')
albumNotFound → const PandoraApiErrorCode
PandoraApiErrorCode(99018, 'ALBUM_NOT_FOUND')
collectionLimitTooHigh → const PandoraApiErrorCode
PandoraApiErrorCode(99019, 'COLLECTION_LIMIT_TOO_HIGH')
annotationLimitTooHigh → const PandoraApiErrorCode
PandoraApiErrorCode(99020, 'ANNOTATION_LIMIT_TOO_HIGH')
insufficientConnectivity → const PandoraApiErrorCode
PandoraApiErrorCode(100001, 'INSUFFICIENT_CONNECTIVITY')

Properties

description String
final
hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromCode(int code) PandoraApiErrorCode

Constants

values → const List<PandoraApiErrorCode>
A constant List of the values in this enum, in order of their declaration.
[unknown, internal, maintenanceMode, urlParamMissingMethod, urlParamMissingAuthToken, urlParamMissingPartnerId, urlParamMissingUserId, secureProtocolRequired, certificateRequired, parameterTypeMismatc…