Exception: SortySorter::Errors::ColumnDoesNotExist

Inherits:
SortyError
  • Object
show all
Defined in:
lib/sorty_sorter/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(col) ⇒ ColumnDoesNotExist

Returns a new instance of ColumnDoesNotExist.



21
22
23
# File 'lib/sorty_sorter/errors.rb', line 21

def initialize(col)
  super "Column #{col} does not exist in the database."
end