$mermaidjs
Clean Architecture Demo
Loading...
Searching...
No Matches
NotFoundException.cs
Go to the documentation of this file.
2
39public sealed class NotFoundException : Exception
40{
41 public NotFoundException(string entityName, object key)
42 : base($"{entityName} with key '{key}' was not found.")
43 {
44 }
45
47 {
48 }
49
50 public NotFoundException(string message) : base(message)
51 {
52 }
53
54 public NotFoundException(string message, Exception innerException)
55 : base(message, innerException)
56 {
57 }
58}
NotFoundException se lanza cuando una entidad solicitada no puede ser encontrada.
NotFoundException(string message, Exception innerException)