Struct ChartboostMediationError
Error wrapper for Chartboost Mediation errors.
Inherited Members
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 |