polygone/Library/PackageCache/com.unity.multiplayer.mlapi@3e3aef6aa0/Runtime/Exceptions/NotServerException.cs
2021-08-02 05:44:37 -04:00

28 lines
No EOL
957 B
C#

using System;
namespace MLAPI.Exceptions
{
/// <summary>
/// Exception thrown when the operation can only be done on the server
/// </summary>
public class NotServerException : Exception
{
/// <summary>
/// Constructs a NotServerException
/// </summary>
public NotServerException() { }
/// <summary>
/// Constructs a NotServerException with a message
/// </summary>
/// <param name="message">The exception message</param>
public NotServerException(string message) : base(message) { }
/// <summary>
/// Constructs a NotServerException with a message and a inner exception
/// </summary>
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public NotServerException(string message, Exception inner) : base(message, inner) { }
}
}