Class NotServerException
Exception thrown when the operation can only be done on the server
Implements
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public class NotServerException : Exception, ISerializable
Constructors
NotServerException()
Constructs a NotServerException
Declaration
public NotServerException()
NotServerException(string)
Constructs a NotServerException with a message
Declaration
public NotServerException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message |
NotServerException(string, Exception)
Constructs a NotServerException with a message and a inner exception
Declaration
public NotServerException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message |
Exception | inner | The inner exception |