using System; namespace Unity.Netcode { /// /// Exception thrown when the operation can only be done on the server /// public class NotServerException : Exception { /// /// Constructs a NotServerException /// public NotServerException() { } /// /// Constructs a NotServerException with a message /// /// The exception message public NotServerException(string message) : base(message) { } /// /// Constructs a NotServerException with a message and a inner exception /// /// The exception message /// The inner exception public NotServerException(string message, Exception inner) : base(message, inner) { } } }