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
This commit is contained in:
@@ -3,6 +3,7 @@ namespace DocumentOperator.Domain.Exceptions;
|
||||
/// <summary>
|
||||
/// Exception thrown when a Swiss QR Code cannot be found in a PDF document.
|
||||
/// </summary>
|
||||
[Obsolete("This exception is deprecated. Use SwissQrCodeNotFoundException instead.")]
|
||||
public sealed class SwissQrCodeNotFoundException : Exception
|
||||
{
|
||||
public SwissQrCodeNotFoundException()
|
||||
|
||||
Reference in New Issue
Block a user