Exception: Rbeapi::Eapilib::ConnectionError
- Defined in:
- lib/rbeapi/eapilib.rb
Overview
A ConnectionError exception is raised when the connection object is unable to establish a connection with eAPI.
Instance Attribute Summary collapse
-
#connection_type ⇒ Object
Returns the value of attribute connection_type.
Attributes inherited from EapiError
Instance Method Summary collapse
-
#initialize(message, connection_type = nil, commands = nil) ⇒ ConnectionError
constructor
The exception contains the eAPI error code and error text.
Methods inherited from EapiError
Constructor Details
#initialize(message, connection_type = nil, commands = nil) ⇒ ConnectionError
The exception contains the eAPI error code and error text.
114 115 116 117 118 |
# File 'lib/rbeapi/eapilib.rb', line 114 def initialize(, connection_type = nil, commands = nil) @connection_type = connection_type @commands = commands super() end |
Instance Attribute Details
#connection_type ⇒ Object
Returns the value of attribute connection_type.
101 102 103 |
# File 'lib/rbeapi/eapilib.rb', line 101 def connection_type @connection_type end |