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.
12 lines
335 B
C#
12 lines
335 B
C#
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)
|
|
{
|
|
}
|
|
} |