Mediation 5.4.0 - Unity C# API Reference Mediation 5.4.0 - Unity C# API Reference
Mediation 5.4.0 - Unity C# API Reference Mediation 5.4.0 - Unity C# API Reference
© 2025 Chartboost, Inc. All rights reserved.

Struct ChartboostMediationError

Error wrapper for Chartboost Mediation errors.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Chartboost.Mediation.Error
Assembly: Chartboost.Mediation.dll
Syntax
[Serializable]
public struct ChartboostMediationError

Constructors

ChartboostMediationError(string)

Constructor for custom error messages.

Declaration
public ChartboostMediationError(string message)
Parameters
Type Name Description
string message

custom error message.

ChartboostMediationError(string?, string)

Constructor for native errors.

Declaration
[JsonConstructor]
public ChartboostMediationError(string? code, string message)
Parameters
Type Name Description
string code

error code.

string message

error message.

Properties

Code

The underlying Code for this error.

Declaration
[JsonProperty("code")]
public readonly string? Code { get; }
Property Value
Type Description
string

Message

A human-readable, description of this error.

Declaration
[JsonProperty("message")]
public readonly string Message { get; }
Property Value
Type Description
string