From 7145e10e5316e5e5f5912ea26545d70d7f22c477 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Wed, 24 Apr 2024 18:08:31 +0200 Subject: [PATCH] Introduce `ErrEventProcessing` type --- internal/event/event.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/event/event.go b/internal/event/event.go index b84843a73..821c40e13 100644 --- a/internal/event/event.go +++ b/internal/event/event.go @@ -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")