v1.0.0
2022.3+
Class MultiplayError
An error given by the multiplay service.
Inheritance
System.Object
MultiplayError
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplay
Syntax
public class MultiplayErrorConstructors
MultiplayError(MultiplayExceptionReason, String)
Constructs a multiplay error.
Declaration
public MultiplayError(MultiplayExceptionReason reason, string detail)Parameters
| Type | Name | Description |
|---|---|---|
| MultiplayExceptionReason | reason | The reason for the error. |
| System.String | detail | The detail of the error. |
Properties
Detail
The detail of the error.
Declaration
public string Detail { get; }Property Value
| Type | Description |
|---|---|
| System.String |
Reason
The reason for the error.
Declaration
public MultiplayExceptionReason Reason { get; }Property Value
| Type | Description |
|---|---|
| MultiplayExceptionReason |