Class MatchmakerServiceException
Represents an exception that occurs in the usage of the Unity Matchmaker Service.
Inherited Members
Namespace: Unity.Services.Matchmaker
Syntax
public class MatchmakerServiceException : RequestFailedException, ISerializable, _Exception
Constructors
MatchmakerServiceException(Exception)
Creates a MatchmakerServiceException (unknown reason as default).
Declaration
public MatchmakerServiceException(Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | innerException | The exception raised internally by the service, if any. |
MatchmakerServiceException(MatchmakerExceptionReason, String, Exception)
Creates a MatchmakerServiceException.
Declaration
public MatchmakerServiceException(MatchmakerExceptionReason reason, string message, Exception innerException = null)
Parameters
| Type | Name | Description |
|---|---|---|
| MatchmakerExceptionReason | reason | Reason for service failure. |
| String | message | The description of the error. |
| Exception | innerException | The exception raised internally by the service, if any. |
Properties
Reason
Reason for service failure.
Declaration
public MatchmakerExceptionReason Reason { get; }
Property Value
| Type | Description |
|---|---|
| MatchmakerExceptionReason |