Enum WireErrorCode
WireErrorCode lists the error codes to expect from RequestFailedException.
The error code range is: 23000 to 23999.
Namespace: Unity.Services.Wire.Internal
Syntax
public enum WireErrorCode : int
Fields
| Name | Description | Value |
|---|---|---|
| AlreadySubscribed | Thrown when trying to subscribe to an IChannel that is already in a subscribed state. |
|
| AlreadyUnsubscribed | Thrown when trying to unsubscribe from an IChannel that is already in an unsubscribed state. |
|
| CommandFailed | The command failed for unknown reason. |
|
| ConnectionFailed | The connection to the Wire service failed. |
|
| InvalidChannelName | The channel name provided by the IChannelTokenProvider is not valid. |
|
| InvalidToken | The token provided by the IChannelTokenProvider is invalid. |
|
| TokenRetrieverFailed | The GetTokenAsync() method of IChannelTokenProvider threw an exception. It is provided as inner exception. |
|
| Unauthorized | The Wire service refused the subscription. |
|
| Unknown | Unknown error |