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