16 lines
328 B
Go
16 lines
328 B
Go
package zerr
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitlab.bareksa.com/backend/zen/core/zoptions"
|
|
)
|
|
|
|
type NotificationHandler interface {
|
|
NotifyError(ctx context.Context, err Error, opts ...zoptions.NotifyOption)
|
|
}
|
|
|
|
type NullNotifier struct{}
|
|
|
|
func (NullNotifier) NotifyError(ctx context.Context, err Error, opts ...zoptions.NotifyOption) {}
|