Files
ReC/src/ReC.Application/Common/Exceptions/DataIntegrityException.cs
TekH e62dfbcc7a Improve error handling with DataIntegrityException
Introduce a new `DataIntegrityException` class to handle data
integrity issues. Replace the logging and early return for
`null` `RestType` in `InvokeRecActionCommandHandler` with
throwing the new exception. This ensures explicit error
handling and improves runtime issue detection.
2025-12-01 12:51:54 +01:00

8 lines
211 B
C#

namespace ReC.Application.Common.Exceptions;
public class DataIntegrityException : Exception
{
public DataIntegrityException() { }
public DataIntegrityException(string message) : base(message) { }
}