Class LoadAdError

Extends Error
Error class representing ad load operation failures.
Constructors
constructor
Properties
cause?
code
The error's code, specific to the context.
message
name
responseInfo?
stack?
Methods
toString
Returns a string representation of this error.

Constructors


constructor

new LoadAdError(code, message, responseInfo?): LoadAdError
Parameters
code: LoadAdErrorCode
message: string
Optional responseInfo: ResponseInfo
Returns
LoadAdError

Properties


Optional cause

cause?: unknown

Readonly code

The error's code, specific to the context.

message

message: string

name

name: string

Optional Readonly responseInfo

responseInfo?: ResponseInfo

Optional stack

stack?: string

Methods


toString

toString(): string
Returns a string representation of this error.
Returns
string A string representation of the load ad error.