class Cuniculus::Error
Cuniculus-specific exceptions
-
`Cuniculus::Error`: Default exception raised by
Cuniculus
. All exceptions classes defined byCuniculus
descend from this class. -
`Cuniculus::BadlyFormattedPayload`: A
Cuniculus
consumer received an improperly formatted job message. -
`Cuniculus::ConfigError`: Incorrect configuration passed to
Cuniculus
. -
`Cuniculus::RMQConnectionError`: Unable to connect to RabbitMQ.
-
`Cuniculus::RMQQueueConfigurationConflict`: The queue configuration given to
Cuniculus
conflicts with the current configuration of the same existing queue in RabbitMQ. -
`Cuniculus::WorkerOptionsError`: Invalid options passed to cuniculus_options.
Attributes
If the Cuniculus
exception wraps an underlying exception, the latter is held here.
Public Instance Methods
Underlying exception `cause`
@return [Exception#cause]
# File lib/cuniculus/exceptions.rb 25 def cause 26 wrapped_exception || super 27 end
# File lib/cuniculus/exceptions.rb 29 def message 30 wrapped_exception&.message || to_s 31 end