Exception: BackgrounDRb::NoServerAvailable

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/backgroundrb/bdrb_conn_error.rb

Overview

raised when connection to all of the available servers failed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ NoServerAvailable

Returns a new instance of NoServerAvailable.

[View source]

13
14
15
# File 'lib/backgroundrb/bdrb_conn_error.rb', line 13

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.


12
13
14
# File 'lib/backgroundrb/bdrb_conn_error.rb', line 12

def message
  @message
end