Skip to content

Commit

Permalink
Update ErrorRequestHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Jun 29, 2024
1 parent c9e53af commit b2be7c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sample/Handlers/ErrorRequestHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ namespace Sample.Handlers;
[RegisterHandler]
public class ErrorRequestHandler : IRequestHandler<ErrorRequest>
{

[UserNotify(ErrorTitle = "NOPE", ErrorMessage = "Quit causing issues :)")]
public Task Handle(ErrorRequest request, CancellationToken cancellationToken)
{
throw new InvalidOperationException("Why you call me?");
Expand Down

0 comments on commit b2be7c7

Please sign in to comment.