Error Type
Enum representing the types of errors that can occur when loading or displaying a Moloco ad.
Link to the document describing the error codes: https://www.notion.so/moloco/Tech-Design-MAX-Mediation-Integration-Proposal-bf75f57e20274941aae96cd3aff9e07f#f6797faafcfd45cc96fe6d435aa03f25
Entries
SDK initialization error. Error code "1000"
WorkManager crash that prevents us from creating a persistent http request client. Error code "1001"
Ad object cannot be created, due to invalid configuration. Error code "1002"
Ad is not loaded. Error code "2000"
Ad load failed because SDK was not initialized. Error code "2001"
Ad failed to load because the request timed out. Error code "2003"
Ad load limit reached. Error code "2004"
Ad failed to load because bid request failed or no fill. Error code "2005"
Ad show failed despite a successful ad load. Internal renderer error. Error code "3000"
Ad show failed because ad load was not called. Error code "3001"
Ad show failed because show() was invoked multiple times when ad was already rendering. Error code "3002"
The bid response received was not parseable by the SDK. Error code "4000"
The bid token couldn’t be retrieved. Error code "5000"
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.