-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
25 lines (22 loc) · 1009 Bytes
/
errors.go
File metadata and controls
25 lines (22 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package tributary
import (
"github.com/nilpntr/tributary/tributarytype"
)
// Re-export error types and variables from tributarytype for backward compatibility
var (
ErrNoWorkersConfigured = tributarytype.ErrNoWorkersConfigured
ErrNoQueuesConfigured = tributarytype.ErrNoQueuesConfigured
ErrClientNotStarted = tributarytype.ErrClientNotStarted
ErrClientAlreadyStarted = tributarytype.ErrClientAlreadyStarted
ErrWorkerNotFound = tributarytype.ErrWorkerNotFound
ErrInvalidLogger = tributarytype.ErrInvalidLogger
ErrMigrationFailed = tributarytype.ErrMigrationFailed
ErrInvalidMigrationConfig = tributarytype.ErrInvalidMigrationConfig
)
// Re-export error types
type QueueConfigError = tributarytype.QueueConfigError
type WorkerError = tributarytype.WorkerError
type WorkerPanicError = tributarytype.WorkerPanicError
type MigrationError = tributarytype.MigrationError
type ValidationError = tributarytype.ValidationError
type HookError = tributarytype.HookError