Class: Makara::Errors::BlacklistConnection
- Inherits:
-
MakaraError
- Object
- ActiveRecord::ActiveRecordError
- MakaraError
- 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.
6 7 8 9 |
# File 'lib/makara/errors/blacklist_connection.rb', line 6 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.
4 5 6 |
# File 'lib/makara/errors/blacklist_connection.rb', line 4 def original_error @original_error end |