Files
blazor-cms/ConfigBackEnd/Exceptions/NotFoundException.cs
T
2026-07-21 13:52:43 +07:00

24 lines
490 B
C#

namespace Indotalent.ConfigBackEnd.Exceptions;
public class NotFoundException : Exception
{
public NotFoundException()
: base()
{
}
public NotFoundException(string message)
: base(message)
{
}
public NotFoundException(string message, Exception innerException)
: base(message, innerException)
{
}
public NotFoundException(string name, object key)
: base($"Entity \"{name}\" ({key}) was not found.")
{
}
}