Exception: DRbQueue::Server::UnableToStart
- Inherits:
-
StandardError
- Object
- StandardError
- DRbQueue::Server::UnableToStart
- Defined in:
- lib/drb_queue/server.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause) ⇒ UnableToStart
constructor
A new instance of UnableToStart.
Constructor Details
#initialize(message, cause) ⇒ UnableToStart
Returns a new instance of UnableToStart.
11 12 13 14 |
# File 'lib/drb_queue/server.rb', line 11 def initialize(, cause) super("#{}: Cause is #{cause.inspect}") @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
10 11 12 |
# File 'lib/drb_queue/server.rb', line 10 def cause @cause end |