IW4M-Admin/SharedLibraryCore/Exceptions/NetworkException.cs

16 lines
334 B
C#
Raw Normal View History

2022-01-26 11:32:16 -05:00
using System.Net.Sockets;
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.Exceptions
{
public class NetworkException : ServerException
{
2022-01-26 11:32:16 -05:00
public NetworkException(string msg) : base(msg)
{
}
public NetworkException(string msg, Socket s) : base(msg)
{
2022-01-26 11:32:16 -05:00
Data.Add("socket", s);
}
}
2022-01-26 11:32:16 -05:00
}