Exception: BulkDependencyEraser::Errors::NullifierError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_error_klass, message, nullifying_klass_name:, nullifying_columns:) ⇒ NullifierError

Returns a new instance of NullifierError.



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

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

Instance Attribute Details

#nullifying_columnsObject (readonly)

Returns the value of attribute nullifying_columns.



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

def nullifying_columns
  @nullifying_columns
end

#nullifying_klass_nameObject (readonly)

Returns the value of attribute nullifying_klass_name.



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

def nullifying_klass_name
  @nullifying_klass_name
end

#original_error_klassObject (readonly)

Returns the value of attribute original_error_klass.



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

def original_error_klass
  @original_error_klass
end