Exception: SimpleMessageQueue::EnvironmentError
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleMessageQueue::EnvironmentError
- Defined in:
- lib/simple_message_queue/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ EnvironmentError
constructor
A new instance of EnvironmentError.
Constructor Details
#initialize ⇒ EnvironmentError
Returns a new instance of EnvironmentError.
18 19 20 21 |
# File 'lib/simple_message_queue/errors.rb', line 18 def initialize = "You must define the environment in the SimpleMessageQueue.configure block. Without setting the environment the same queue will be used across environments causing unwanted results." super() end |