class Rbeapi::Eapilib::ConnectionError
A ConnectionError
exception is raised when the connection object is unable to establish a connection with eAPI.
Attributes
connection_type[RW]
Public Class Methods
new(message, connection_type = nil, commands = nil)
click to toggle source
The exception contains the eAPI error code and error text.
@param message [String] The error message to return from raising
this exception.
@param connection_type
[String] The optional connection_type
of
the instance.
@param commands [Array] The list of commands that were used in the
eAPI request message.
Calls superclass method
# File lib/rbeapi/eapilib.rb, line 114 def initialize(message, connection_type = nil, commands = nil) @connection_type = connection_type @commands = commands super(message) end