Add RecActionException custom exception class

Introduced RecActionException in ReC.Application.Common.Exceptions to encapsulate errors related to rec actions, including actionId, optional profileId, and inner exception details in the error message.
This commit is contained in:
2026-03-25 09:55:52 +01:00
parent 894b7bb070
commit 82ae4c5957

View File

@@ -0,0 +1,4 @@
namespace ReC.Application.Common.Exceptions;
public class RecActionException(long actionId, long? profileId, Exception innerException)
: Exception($"Rec action failed. ActionId: {actionId}, ProfileId: {profileId}", innerException);