From 12d17e0808ac9400f6bec82825687b662abddd8d Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 12 Jan 2026 16:16:52 +0100 Subject: [PATCH] Add InsertObjectFailedException custom exception class Introduced InsertObjectFailedException in the ReC.Application.Common.Exceptions namespace. This exception provides constructors for custom messages and inner exceptions, and is intended to signal failures during object insertion operations. --- .../Common/Exceptions/InsertObjectFailedException.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/ReC.Application/Common/Exceptions/InsertObjectFailedException.cs diff --git a/src/ReC.Application/Common/Exceptions/InsertObjectFailedException.cs b/src/ReC.Application/Common/Exceptions/InsertObjectFailedException.cs new file mode 100644 index 0000000..a936d77 --- /dev/null +++ b/src/ReC.Application/Common/Exceptions/InsertObjectFailedException.cs @@ -0,0 +1,12 @@ +namespace ReC.Application.Common.Exceptions; + +public class InsertObjectFailedException : Exception +{ + public InsertObjectFailedException(string? message = null) : base(message) + { + } + + public InsertObjectFailedException(string? message = null, Exception? innerException = null) : base(message, innerException) + { + } +} \ No newline at end of file