Module: Shoryuken::Errors
- Defined in:
- lib/shoryuken/errors.rb
Overview
Namespace for all Shoryuken-specific errors. These provide more meaningful error types than generic Ruby exceptions, making it easier to rescue and handle specific failure cases.
Constant Summary collapse
- BaseError =
Base class for all Shoryuken errors
Class.new(StandardError)
- InvalidConfigurationError =
Raised when there is a configuration validation failure
Class.new(BaseError)
- QueueNotFoundError =
Raised when a specified SQS queue does not exist or cannot be accessed
Class.new(BaseError)
- InvalidWorkerRegistrationError =
Raised when worker registration fails due to conflicts (e.g., registering multiple workers for a batch queue)
Class.new(BaseError)
- InvalidPollingStrategyError =
Raised when an invalid polling strategy is specified
Class.new(BaseError)
- InvalidEventError =
Raised when an invalid lifecycle event name is used
Class.new(BaseError)
- InvalidDelayError =
Raised when a delay exceeds the maximum allowed by SQS (15 minutes)
Class.new(BaseError)
- FifoDelayNotSupportedError =
Raised when a delay is used with a FIFO queue
Class.new(BaseError)
- InvalidArnError =
Raised when an ARN format is invalid
Class.new(BaseError)