AdError

AdError contains the error information returned by Facebook.

Extends:Object
Package:ads
Constructors
AdError(int, String)

Constructs an AdError using the given error code and error message

public AdError(int errorCode, String errorMessage)
ParameterDescription
errorCodeThe error code
errorMessageThe error message
Instance Methods
getErrorCode()

Gets the error code

public int getErrorCode()
Returns
The error code
getErrorMessage()

Gets the error message

public String getErrorMessage()
Returns
The error message
Constants
NETWORK_ERROR_CODE
public static final int NETWORK_ERROR_CODE
NO_FILL_ERROR_CODE
public static final int NO_FILL_ERROR_CODE
LOAD_TOO_FREQUENTLY_ERROR_CODE
public static final int LOAD_TOO_FREQUENTLY_ERROR_CODE
SERVER_ERROR_CODE
public static final int SERVER_ERROR_CODE
INTERNAL_ERROR_CODE
public static final int INTERNAL_ERROR_CODE
MEDIATION_ERROR_CODE
public static final int MEDIATION_ERROR_CODE
NETWORK_ERROR
public static final AdError NETWORK_ERROR
NO_FILL
public static final AdError NO_FILL
LOAD_TOO_FREQUENTLY
public static final AdError LOAD_TOO_FREQUENTLY
SERVER_ERROR
public static final AdError SERVER_ERROR
INTERNAL_ERROR
public static final AdError INTERNAL_ERROR
MEDIATION_ERROR
public static final AdError MEDIATION_ERROR
MISSING_PROPERTIES
public static final AdError MISSING_PROPERTIES