Exception: Familia::NotConnected
- Defined in:
- lib/familia/errors.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri) ⇒ NotConnected
constructor
A new instance of NotConnected.
-
#message ⇒ Object
Constructor Details
#initialize(uri) ⇒ NotConnected
Returns a new instance of NotConnected.
24 25 26 27 |
# File 'lib/familia/errors.rb', line 24 def initialize(uri) @uri = uri super end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
22 23 24 |
# File 'lib/familia/errors.rb', line 22 def uri @uri end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/familia/errors.rb', line 29 def "No client for #{uri.serverid}" end |