Add interfaces and error codes for processing downstream router connections (#2511)

* Add interfaces and error codes for processing downstream router connections
This commit is contained in:
Todd authored and GitHub committed 2022-10-04 11:07:50 -07:00
1 parent f23a28cf01
commit 412e7a2418
5 files changed
+66 -21

No files matched your search

+4
View File
@@ -45,6 +45,10 @@ const (
CycleFound = 121 // CycleFound represents an error when a cycle is found between a parent and child worker
WorkerConnNotFound = 122 // WorkerConnNotFound represents an error when a connection to a worker is not found
KmsWorkerUnsupportedOperation = 123 // KmsWorkerUnsupportedOperation represents an error when a KMS worker is not supported for an operation
// Note: Currently unused in OSS
RetryLimitExceeded = 124 // RetryLimitExceeded represents an error when a retry limit is exceeded
// Note: Currently unused in OSS
QueueIsFull = 125 // QueueIsFull results in attempting to add an item to a queue which is full
AuthAttemptExpired Code = 198 // AuthAttemptExpired represents an expired authentication attempt
AuthMethodInactive Code = 199 // AuthMethodInactive represents an error that means the auth method is not active.