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:
@@ -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);
|
||||
Reference in New Issue
Block a user