Packagecom.adobe.webapis.flickr
Classpublic class FlickrError

These are the common errors that can happen during a call to a flickr method. Each method may have some method-specific errors, and unfortunately they don't share error #'s so we can't put them in this class. For instance, an error code of 1 for "flickr.blogs.postPhoto" is "Blog not found", whereas the same code of 1 for "flickr.photos.addTags" is "Photo not found", which means the developer using this API will have to check the method-specific errors by hand instead of with these constants.



Public Properties
 PropertyDefined by
  errorCode : int
The error code returned from Flickr
FlickrError
  errorMessage : String
The error message returned from Flickr
FlickrError
Public Methods
 MethodDefined by
  
Constructs a new FlickrError instance
FlickrError
Public Constants
 ConstantDefined by
  FORMAT_NOT_FOUND : int = 111
[static] The requested response format was not found.
FlickrError
  INSUFFICIENT_PERMISSIONS : int = 99
[static] The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
FlickrError
  INVALID_API_KEY : int = 100
[static] The API key passed was not valid or has expired.
FlickrError
  INVALID_SIGNATURE : int = 96
[static] The passed signature was invalid.
FlickrError
  INVALID_SOAP_ENVELOPE : int = 114
[static] The SOAP envelope send in the request could not be parsed.
FlickrError
  INVALID_XML_RPC_CALL : int = 115
[static] The XML-RPC request document could not be parsed
FlickrError
  LOGIN_FAILED : int = 98
[static] The login details or auth token passed were invalid.
FlickrError
  METHOD_NOT_FOUND : int = 112
[static] The requested method was not found.
FlickrError
  MISSING_SIGNATURE : int = 97
[static] The call required signing but no signature was sent.
FlickrError
  SERVICE_CURRENTLY_UNAVAILABLE : int = 105
[static] The requested service is temporarily unavailable.
FlickrError
Property detail
errorCodeproperty
errorCode:int  [read-write]

The error code returned from Flickr

Implementation
    public function get errorCode():int
    public function set errorCode(value:int):void
errorMessageproperty 
errorMessage:String  [read-write]

The error message returned from Flickr

Implementation
    public function get errorMessage():String
    public function set errorMessage(value:String):void
Constructor detail
FlickrError()constructor
public function FlickrError()

Constructs a new FlickrError instance

Constant detail
FORMAT_NOT_FOUNDconstant
public static const FORMAT_NOT_FOUND:int = 111

The requested response format was not found.

INSUFFICIENT_PERMISSIONSconstant 
public static const INSUFFICIENT_PERMISSIONS:int = 99

The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

INVALID_API_KEYconstant 
public static const INVALID_API_KEY:int = 100

The API key passed was not valid or has expired.

INVALID_SIGNATUREconstant 
public static const INVALID_SIGNATURE:int = 96

The passed signature was invalid.

INVALID_SOAP_ENVELOPEconstant 
public static const INVALID_SOAP_ENVELOPE:int = 114

The SOAP envelope send in the request could not be parsed.

INVALID_XML_RPC_CALLconstant 
public static const INVALID_XML_RPC_CALL:int = 115

The XML-RPC request document could not be parsed

LOGIN_FAILEDconstant 
public static const LOGIN_FAILED:int = 98

The login details or auth token passed were invalid.

METHOD_NOT_FOUNDconstant 
public static const METHOD_NOT_FOUND:int = 112

The requested method was not found.

MISSING_SIGNATUREconstant 
public static const MISSING_SIGNATURE:int = 97

The call required signing but no signature was sent.

SERVICE_CURRENTLY_UNAVAILABLEconstant 
public static const SERVICE_CURRENTLY_UNAVAILABLE:int = 105

The requested service is temporarily unavailable.