Exception: SimpleMessageQueue::EnvironmentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/simple_message_queue/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeEnvironmentError

Returns a new instance of EnvironmentError.



18
19
20
21
# File 'lib/simple_message_queue/errors.rb', line 18

def initialize
  message = "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(message)
end