Exception: Autoselect::TaxonName::ColCreator::CreationError
- Inherits:
-
StandardError
- Object
- StandardError
- Autoselect::TaxonName::ColCreator::CreationError
- Defined in:
- lib/autoselect/taxon_name/col_creator.rb
Overview
Raised when any name in the creation loop fails validation. Carries the row that triggered the failure for frontend highlighting.
Instance Attribute Summary collapse
-
#col_id ⇒ Object
readonly
Returns the value of attribute col_id.
-
#col_name ⇒ Object
readonly
Returns the value of attribute col_name.
Instance Method Summary collapse
-
#initialize(message, col_name: nil, col_id: nil) ⇒ CreationError
constructor
A new instance of CreationError.
Constructor Details
#initialize(message, col_name: nil, col_id: nil) ⇒ CreationError
Returns a new instance of CreationError.
31 32 33 34 35 |
# File 'lib/autoselect/taxon_name/col_creator.rb', line 31 def initialize(, col_name: nil, col_id: nil) super() @col_name = col_name @col_id = col_id end |
Instance Attribute Details
#col_id ⇒ Object (readonly)
Returns the value of attribute col_id.
29 30 31 |
# File 'lib/autoselect/taxon_name/col_creator.rb', line 29 def col_id @col_id end |
#col_name ⇒ Object (readonly)
Returns the value of attribute col_name.
29 30 31 |
# File 'lib/autoselect/taxon_name/col_creator.rb', line 29 def col_name @col_name end |