IW4M-Admin/SharedLibraryCore/Exceptions/NetworkException.cs

19 lines
439 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibraryCore.Exceptions
{
public class NetworkException : ServerException
{
public NetworkException(string msg) : base(msg) { }
public NetworkException(string msg, Socket s) : base(msg)
{
this.Data.Add("socket", s);
}
}
}