10 lines
240 B
C#
10 lines
240 B
C#
using System;
|
|
|
|
namespace Syntriax.Engine.Core.Exceptions;
|
|
|
|
public class NotFoundException(string? message) : Exception(message)
|
|
{
|
|
public static NotAssignedException FromType<T>()
|
|
=> new($"{typeof(T).FullName} was not found");
|
|
}
|