Exception: BulkDependencyEraser::Errors::DeleterError
- Inherits:
-
BaseError
- Object
- StandardError
- BaseError
- BulkDependencyEraser::Errors::DeleterError
- Defined in:
- lib/bulk_dependency_eraser/errors/deleter_error.rb
Instance Attribute Summary collapse
-
#deleting_klass_name ⇒ Object
readonly
Returns the value of attribute deleting_klass_name.
-
#original_error_klass ⇒ Object
readonly
Returns the value of attribute original_error_klass.
Instance Method Summary collapse
-
#initialize(original_error_klass, message, deleting_klass_name:) ⇒ DeleterError
constructor
A new instance of DeleterError.
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, , deleting_klass_name:) @original_error_klass = original_error_klass @deleting_klass_name = deleting_klass_name super() end |
Instance Attribute Details
#deleting_klass_name ⇒ Object (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_klass ⇒ Object (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 |