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.
32 33 34 35 |
# File 'lib/familia/errors.rb', line 32 def initialize(uri) @uri = uri super end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
30 31 32 |
# File 'lib/familia/errors.rb', line 30 def uri @uri end |
Instance Method Details
#message ⇒ Object
37 38 39 |
# File 'lib/familia/errors.rb', line 37 def "No client for #{uri.serverid}" end |