Sha256: 8a67d4e18bd9357f5ad5f3ab1239a69939394801a3bbb1b71e0342fca2279731

Contents?: true

Size: 616 Bytes

Versions: 9

Compression:

Stored size: 616 Bytes

Contents

module HoneyFormat
  # Raised when header is missing
  class MissingCSVHeaderError < StandardError; end
  # Raised when there is a CSV header column error
  class CSVHeaderColumnError < StandardError; end
  # Raised when header column is missing
  class MissingCSVHeaderColumnError < CSVHeaderColumnError; end
  # Raised when a column is not in passed valid columns
  class UnknownCSVHeaderColumnError < CSVHeaderColumnError; end
  # Raised when columns are empty
  class EmptyColumnsError < ArgumentError; end
  # Raised when row has more columns than columns
  class InvalidRowLengthError < ArgumentError; end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
honey_format-0.8.2 lib/honey_format/exceptions.rb
honey_format-0.8.1 lib/honey_format/exceptions.rb
honey_format-0.8.0 lib/honey_format/exceptions.rb
honey_format-0.7.0 lib/honey_format/exceptions.rb
honey_format-0.6.0 lib/honey_format/exceptions.rb
honey_format-0.5.0 lib/honey_format/exceptions.rb
honey_format-0.4.0 lib/honey_format/exceptions.rb
honey_format-0.3.0 lib/honey_format/exceptions.rb
honey_format-0.2.1 lib/honey_format/exceptions.rb