Exception: BulkDependencyEraser::Errors::DeleterError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/bulk_dependency_eraser/errors/deleter_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_error_klass, message, deleting_klass_name:) ⇒ DeleterError

Returns a new instance of DeleterError.



6
7
8
9
10
# File 'lib/bulk_dependency_eraser/errors/deleter_error.rb', line 6

def initialize(original_error_klass, message, deleting_klass_name:)
  @original_error_klass = original_error_klass
  @deleting_klass_name = deleting_klass_name
  super(message)
end

Instance Attribute Details

#deleting_klass_nameObject (readonly)

Returns the value of attribute deleting_klass_name.



4
5
6
# File 'lib/bulk_dependency_eraser/errors/deleter_error.rb', line 4

def deleting_klass_name
  @deleting_klass_name
end

#original_error_klassObject (readonly)

Returns the value of attribute original_error_klass.



4
5
6
# File 'lib/bulk_dependency_eraser/errors/deleter_error.rb', line 4

def original_error_klass
  @original_error_klass
end