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