v1.0.0
Latest
2022.3+

Class CommandInterruptedException

This exception is thrown when the connection is lost or dropped during a command execution (i.e. subscription, unsubscription, etc.).

Inheritance
System.Object
CommandInterruptedException
Namespace: Unity.Services.Wire.Internal
Syntax
public class CommandInterruptedException : RequestFailedException

Constructors

CommandInterruptedException(String, CentrifugeCloseCode)

Declaration
public CommandInterruptedException(string reason, CentrifugeCloseCode code)
Parameters
TypeNameDescription
System.Stringreason
CentrifugeCloseCodecode

Properties

m_Code

The close code explaining the reason why the Wire connection was interrupted in the middle of a Command. CentrifugeCloseCode

Declaration
public CentrifugeCloseCode m_Code { get; }
Property Value
TypeDescription
CentrifugeCloseCode