Source File
errors.go
Belonging Package
github.com/redis/go-redis/v9/maintnotifications
package maintnotificationsimport ()// Configuration errorsvar (ErrInvalidRelaxedTimeout = errors.New(logs.InvalidRelaxedTimeoutError())ErrInvalidHandoffTimeout = errors.New(logs.InvalidHandoffTimeoutError())ErrInvalidHandoffWorkers = errors.New(logs.InvalidHandoffWorkersError())ErrInvalidHandoffQueueSize = errors.New(logs.InvalidHandoffQueueSizeError())ErrInvalidPostHandoffRelaxedDuration = errors.New(logs.InvalidPostHandoffRelaxedDurationError())ErrInvalidEndpointType = errors.New(logs.InvalidEndpointTypeError())ErrInvalidMaintNotifications = errors.New(logs.InvalidMaintNotificationsError())ErrMaxHandoffRetriesReached = errors.New(logs.MaxHandoffRetriesReachedError())// Configuration validation errors// ErrInvalidHandoffRetries is returned when the number of handoff retries is invalidErrInvalidHandoffRetries = errors.New(logs.InvalidHandoffRetriesError()))// Integration errorsvar (// ErrInvalidClient is returned when the client does not support push notificationsErrInvalidClient = errors.New(logs.InvalidClientError()))// Handoff errorsvar (// ErrHandoffQueueFull is returned when the handoff queue is fullErrHandoffQueueFull = errors.New(logs.HandoffQueueFullError()))// Notification errorsvar (// ErrInvalidNotification is returned when a notification is in an invalid formatErrInvalidNotification = errors.New(logs.InvalidNotificationError()))// connection handoff errorsvar (// ErrConnectionMarkedForHandoff is returned when a connection is marked for handoff// and should not be used until the handoff is completeErrConnectionMarkedForHandoff = errors.New(logs.ConnectionMarkedForHandoffErrorMessage)// ErrConnectionMarkedForHandoffWithState is returned when a connection is marked for handoff// and should not be used until the handoff is completeErrConnectionMarkedForHandoffWithState = errors.New(logs.ConnectionMarkedForHandoffErrorMessage + " with state")// ErrConnectionInvalidHandoffState is returned when a connection is in an invalid state for handoffErrConnectionInvalidHandoffState = errors.New(logs.ConnectionInvalidHandoffStateErrorMessage))// shutdown errorsvar (// ErrShutdown is returned when the maintnotifications manager is shutdownErrShutdown = errors.New(logs.ShutdownError()))// circuit breaker errorsvar (// ErrCircuitBreakerOpen is returned when the circuit breaker is openErrCircuitBreakerOpen = errors.New(logs.CircuitBreakerOpenErrorMessage))// circuit breaker configuration errorsvar (// ErrInvalidCircuitBreakerFailureThreshold is returned when the circuit breaker failure threshold is invalidErrInvalidCircuitBreakerFailureThreshold = errors.New(logs.InvalidCircuitBreakerFailureThresholdError())// ErrInvalidCircuitBreakerResetTimeout is returned when the circuit breaker reset timeout is invalidErrInvalidCircuitBreakerResetTimeout = errors.New(logs.InvalidCircuitBreakerResetTimeoutError())// ErrInvalidCircuitBreakerMaxRequests is returned when the circuit breaker max requests is invalidErrInvalidCircuitBreakerMaxRequests = errors.New(logs.InvalidCircuitBreakerMaxRequestsError()))
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |