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