Stay organized with collections
Save and categorize content based on your preferences.
subdirectory_arrow_rightExtends Error
AdError surfaces information to the user about whether a failure occurred during ad loading
or playing. The errorType accessor provides information about whether the error occurred
during ad loading or ad playing.
Inner error that occurred during processing, or null if this information is
unavailable. This error may either be a native error or an AdError, a subclass
of a native error. This may return null if the error that caused this one is not
available.
getMessage
getMessage(): string
Returns the message for this error.
Returns
string
The message for this error.
getType
getType(): string
Returns the type of this error.
Returns
string
The type of this error, as defined in AdError.Type.
getVastErrorCode
getVastErrorCode(): number
Returns the VAST error code.
Returns
number
If VAST error code is available, returns it, otherwise returns
AdError.ErrorCode.UNKNOWN_ERROR.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-17 UTC."],[],[]]