Exception: Makara::Errors::BlacklistConnection

Inherits:
StandardError
  • Object
show all
Defined in:
lib/makara/errors/blacklist_connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.message}"
end

Instance Attribute Details

#original_errorObject (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