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.
This commit is contained in:
2026-01-12 16:16:52 +01:00
parent 1dee3180d5
commit 12d17e0808

View File

@@ -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)
{
}
}