Aetheria/Assets/Scripts/ServerShared/NIH/LiteNetLib/NetExceptions.cs
hyperion51 e96146b7bb Out with MagicOnion, in with LiteNetLib
Removed MagicOnion
Added LiteNetLib
Created client and server abstractions
Fixed serialization bugs
2020-03-24 14:36:22 +00:00

33 lines
No EOL
752 B
C#

using System;
namespace LiteNetLib
{
public class InvalidPacketException: ArgumentException
{
public InvalidPacketException()
{
}
public InvalidPacketException(string message): base(message)
{
}
public InvalidPacketException(string message, Exception innerException): base(message, innerException)
{
}
}
public class TooBigPacketException : InvalidPacketException
{
public TooBigPacketException()
{
}
public TooBigPacketException(string message) : base(message)
{
}
public TooBigPacketException(string message, Exception innerException) : base(message, innerException)
{
}
}
}