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