Class LeaderboardsValidationErrorDetail
Single error in the Validation Error Response.
Properties-
Inherited Members
Namespace: Unity.Services.Leaderboards.Exceptions
Assembly: Unity.Services.Leaderboards.dll
Syntax
[Preserve]
public class LeaderboardsValidationErrorDetail
Constructors
LeaderboardsValidationErrorDetail(string, List<string>)
Single error in the Validation Error Response.
Declaration
[Preserve]
public LeaderboardsValidationErrorDetail(string field, List<string> messages)
Parameters
| Type | Name | Description |
|---|---|---|
| string | field | The field in the data that caused the error. |
| List<string> | messages | Messages that describe the errors. |
Properties
Field
The field in the data that caused the error
Declaration
[Preserve]
public string Field { get; }
Property Value
| Type | Description |
|---|---|
| string |
Messages
Messages that describe the errors in the given field.
Declaration
[Preserve]
public List<string> Messages { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Methods
ToString()
Declaration
[Preserve]
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |