Skip to content

XMediator::Api::LoadError

Describes an error when trying to load an Ad.

Public Types

Name
enum class ErrorType { RequestFailed = 1, NoFill = 2, AlreadyUsed = 3, Unexpected = 4}
Enum class containing causes for a load call to fail.

Public Functions

Name
LoadError(ErrorType type, string message)
override bool Equals(object obj)
override int GetHashCode()
override string ToString()

Protected Functions

Name
bool Equals(LoadError other)

Public Properties

Name
ErrorType Type
The error type related to this error.
string Message
A message describing the error.

Public Types Documentation

enum ErrorType

Enumerator Value Description
RequestFailed 1
NoFill 2
AlreadyUsed 3
Unexpected 4

Enum class containing causes for a load call to fail.

Public Functions Documentation

function LoadError

LoadError(
    ErrorType type,
    string message
)

function Equals

override bool Equals(
    object obj
)

function GetHashCode

override int GetHashCode()

function ToString

override string ToString()

Protected Functions Documentation

function Equals

bool Equals(
    LoadError other
)

Public Property Documentation

property Type

ErrorType Type;

The error type related to this error.

property Message

string Message;

A message describing the error.


Updated on 2024-11-07 at 18:31:49 +0000