Package com.cloudinary.android.callback
Class ErrorInfo
java.lang.Object
com.cloudinary.android.callback.ErrorInfo
public class ErrorInfo
extends java.lang.Object
Error object containing a technical description and an error code.
-
Field Summary
Fields Modifier and Type Field Description static intBYTE_ARRAY_PAYLOAD_EMPTYstatic intFILE_DOES_NOT_EXISTstatic intNETWORK_ERRORstatic intNO_ERRORstatic intOPTIONS_FAILUREstatic intPAYLOAD_EMPTYstatic intPAYLOAD_LOAD_FAILUREstatic intPREPROCESS_ERRORstatic intREQUEST_CANCELLEDstatic intRESOURCE_DOES_NOT_EXISTstatic intSIGNATURE_FAILUREstatic intTOO_MANY_ERRORSstatic intUNKNOWN_ERRORstatic intURI_DOES_NOT_EXIST -
Constructor Summary
Constructors Constructor Description ErrorInfo(int code, java.lang.String description) -
Method Summary
Modifier and Type Method Description intgetCode()Error code.java.lang.StringgetDescription()Technical error description (Not for display purposes).
-
Field Details
-
NO_ERROR
public static final int NO_ERROR- See Also:
- Constant Field Values
-
FILE_DOES_NOT_EXIST
public static final int FILE_DOES_NOT_EXIST- See Also:
- Constant Field Values
-
URI_DOES_NOT_EXIST
public static final int URI_DOES_NOT_EXIST- See Also:
- Constant Field Values
-
RESOURCE_DOES_NOT_EXIST
public static final int RESOURCE_DOES_NOT_EXIST- See Also:
- Constant Field Values
-
SIGNATURE_FAILURE
public static final int SIGNATURE_FAILURE- See Also:
- Constant Field Values
-
NETWORK_ERROR
public static final int NETWORK_ERROR- See Also:
- Constant Field Values
-
UNKNOWN_ERROR
public static final int UNKNOWN_ERROR- See Also:
- Constant Field Values
-
PAYLOAD_LOAD_FAILURE
public static final int PAYLOAD_LOAD_FAILURE- See Also:
- Constant Field Values
-
PAYLOAD_EMPTY
public static final int PAYLOAD_EMPTY- See Also:
- Constant Field Values
-
OPTIONS_FAILURE
public static final int OPTIONS_FAILURE- See Also:
- Constant Field Values
-
BYTE_ARRAY_PAYLOAD_EMPTY
public static final int BYTE_ARRAY_PAYLOAD_EMPTY- See Also:
- Constant Field Values
-
REQUEST_CANCELLED
public static final int REQUEST_CANCELLED- See Also:
- Constant Field Values
-
PREPROCESS_ERROR
public static final int PREPROCESS_ERROR- See Also:
- Constant Field Values
-
TOO_MANY_ERRORS
public static final int TOO_MANY_ERRORS- See Also:
- Constant Field Values
-
-
Constructor Details
-
ErrorInfo
public ErrorInfo(int code, java.lang.String description)
-
-
Method Details
-
getCode
public int getCode()Error code. -
getDescription
public java.lang.String getDescription()Technical error description (Not for display purposes).
-