You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
329 B
14 lines
329 B
1 week ago
|
namespace CoreAgent.Domain.Exceptions
|
||
|
{
|
||
|
public class NotFoundException : Exception
|
||
|
{
|
||
|
public NotFoundException(string message) : base(message)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public NotFoundException(string name, object key)
|
||
|
: base($"Entity \"{name}\" ({key}) was not found.")
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|