Luski.Net/Luski.net/Exceptions.cs
JacobTech 2eb1abe526 init
2023-01-01 22:50:39 -05:00

31 lines
642 B
C#
Executable File

using System;
namespace Luski.net
{
public class Exceptions
{
[Serializable]
public class MissingEventException : Exception
{
public string EventName;
public MissingEventException(string Event) : base(Event)
{
EventName = Event;
}
}
[Serializable]
public class NotConnectedException : Exception
{
public NotConnectedException(object sender, string message) : base(message)
{
Sender = sender;
}
public object Sender { get; }
}
}
}