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
Fields
Name | Description | Value |
---|---|---|
Unknown | Unknown error |
23000 |
CommandFailed | The command failed for unknown reason. |
23002 |
ConnectionFailed | The connection to the Wire service failed. |
23003 |
InvalidToken | The token provided by the IChannelTokenProvider is invalid. |
23004 |
InvalidChannelName | The channel name provided by the IChannelTokenProvider is not valid. |
23005 |
TokenRetrieverFailed | The GetTokenAsync() method of IChannelTokenProvider threw an exception. It is provided as inner exception. |
23006 |
Unauthorized | The Wire service refused the subscription. |
23007 |
AlreadySubscribed | Thrown when trying to subscribe to an IChannel that is already in a subscribed state. |
23008 |
AlreadyUnsubscribed | Thrown when trying to unsubscribe from an IChannel that is already in an unsubscribed state. |
23009 |