Exception: Makara::Errors::BlacklistConnection
- Inherits:
-
StandardError
- Object
- StandardError
- Makara::Errors::BlacklistConnection
- Defined in:
- lib/makara/errors/blacklist_connection.rb
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(connection, error) ⇒ BlacklistConnection
constructor
A new instance of BlacklistConnection.
Constructor Details
#initialize(connection, error) ⇒ BlacklistConnection
Returns a new instance of BlacklistConnection.
7 8 9 10 |
# File 'lib/makara/errors/blacklist_connection.rb', line 7 def initialize(connection, error) @original_error = error super "[Makara/#{connection._makara_name}] #{error.}" end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
5 6 7 |
# File 'lib/makara/errors/blacklist_connection.rb', line 5 def original_error @original_error end |