Files
hatchet/pkg/errors/erroralerter.go
Alexander Belanger 366c79441d first commit
2023-12-15 13:08:04 -05:00

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{}) {}