You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
492 B
C#
17 lines
492 B
C#
using System;
|
|
|
|
namespace LanLib.EventManager
|
|
{
|
|
internal static class ErrorMessages
|
|
{
|
|
internal static string NullListenerSubscribed(Type eventId)
|
|
{
|
|
return $"Subscription attempt to {eventId} event had null listener.";
|
|
}
|
|
|
|
internal static string EventListenerTriggerException(Type eventId, Exception exception)
|
|
{
|
|
return $"Exception caught when triggering {eventId} event listener: {exception.Message}";
|
|
}
|
|
}
|
|
} |