Skip to content

Commit

Permalink
Introduce ErrEventProcessing type
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Jul 16, 2024
1 parent 645a007 commit 7145e10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import (
"time"
)

// ErrEventProcessing is a general event processing error message.
var ErrEventProcessing = errors.New("event could not be processed successfully, see server logs for details")

// ErrSuperfluousStateChange indicates a superfluous state change being ignored and stopping further processing.
var ErrSuperfluousStateChange = errors.New("ignoring superfluous state change")

Expand Down

0 comments on commit 7145e10

Please sign in to comment.