errors.go 427 B

1234567891011
  1. package notification
  2. import "github.com/uozi-tech/cosy"
  3. var (
  4. e = cosy.NewErrorScope("notification")
  5. ErrNotifierNotFound = e.New(404001, "notifier not found")
  6. ErrInvalidNotifierConfig = e.New(400001, "invalid notifier config")
  7. ErrInvalidNotificationID = e.New(400002, "invalid notification ID")
  8. ErrExternalNotifyNotFound = e.New(404002, "external notification configuration not found")
  9. )