Files
DocumentService/DocumentOperator.Domain/Common/Exceptions/NotFoundException.cs
TekH a729df6fda refactor: Make Domain exceptions serializable and add XML docs
- Add [Serializable] attribute to all custom exceptions
- Add protected constructors for serialization support
- Add XML documentation comments
- Update SwissQrCodeNotFoundException message format
2026-07-16 15:47:44 +02:00

22 lines
515 B
C#

using System.Runtime.Serialization;
namespace DocumentOperator.Domain.Common.Exceptions;
/// <summary>
/// Exception thrown when a requested resource is not found.
/// Maps to HTTP 404 Not Found in the API layer.
/// </summary>
public class NotFoundException : Exception
{
public NotFoundException()
{
}
public NotFoundException(string? message) : base(message)
{
}
public NotFoundException(string? message, Exception? innerException) : base(message, innerException)
{
}
}