v2.0.0
Latest
2021.3+

Class LeaderboardsValidationErrorDetail

Single error in the Validation Error Response.

Properties-

Inheritance
LeaderboardsValidationErrorDetail
Namespace: Unity.Services.Leaderboards.Exceptions
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
TypeNameDescription
Stringfield

The field in the data that caused the error.

List<String>messages

Messages that describe the errors.

Properties

Field

Declaration
[Preserve]
public string Field { get; }
Property Value
TypeDescription
String

Messages

Declaration
[Preserve]
public List<string> Messages { get; }
Property Value
TypeDescription
List<String>

Methods

ToString()

Declaration
[Preserve]
public override string ToString()
Returns
TypeDescription
String
Overrides