Sha256: 12db479d88d4753fbe5ebacfa0bf616eafe75f989df9c27555b219152c9a2322
Contents?: true
Size: 1.13 KB
Versions: 12
Compression:
Stored size: 1.13 KB
Contents
# frozen_string_literal: true module HoneyFormat # Errors module Errors # Header errors # Super class of errors raised when there is a header error class HeaderError < StandardError; end # Raised when header is missing class MissingHeaderError < HeaderError; end # Raised when header column is missing class MissingHeaderColumnError < HeaderError; end # Raised when header column duplicate is found class DuplicateHeaderColumnError < HeaderError; end # Raised when deduplication strategy is unknown class UnknownDeduplicationStrategyError < HeaderError; end # Row errors # Super class of errors raised when there is a row error class RowError < StandardError; end # Raised when row columns are empty class EmptyRowColumnsError < RowError; end # Raised when row has more columns than header columns class InvalidRowLengthError < RowError; end # Value conversion errors # Raised when value type is unknown class UnknownTypeError < ArgumentError; end # Raised when value type already exists class TypeExistsError < ArgumentError; end end include Errors end
Version data entries
12 entries across 12 versions & 1 rubygems