Class NotServerException
Exception thrown when the operation can only be done on the server
Inherited Members
Namespace: Unity.Netcode
Syntax
public class NotServerException : Exception, ISerializable, _Exception
  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  |