mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-07 17:29:39 -06:00
14 lines
261 B
Go
14 lines
261 B
Go
package errors
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Alerter interface {
|
|
SendAlert(ctx context.Context, err error, data map[string]interface{})
|
|
}
|
|
|
|
type NoOpAlerter struct{}
|
|
|
|
func (s NoOpAlerter) SendAlert(ctx context.Context, err error, data map[string]interface{}) {}
|