Sha256: 6bb65cfa01cb4d80e9baeab06a8cde159fef2d2b54cef4756cd855b1e08361ee

Contents?: true

Size: 606 Bytes

Versions: 10

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class Error < StandardError; end
  class CsvFileNotFoundError < Error; end
  class DataNotFoundError < Error; end
  class InvalidDataTypeError < Error; end
  class MissingDataError < Error; end

  class MissingHeaderFieldsError < Error
    attr_reader :missing_header_fields

    def initialize(message = nil, missing_header_fields:)
      super(message)
      @missing_header_fields = missing_header_fields
    end
  end

  class NotSupportedError < Error; end
  class ScrambledHeaderFieldsError < Error; end
  class SourcedIdDuplicatedError < Error; end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
meibo-0.27.1 lib/meibo/errors.rb
meibo-0.27.0 lib/meibo/errors.rb
meibo-0.26.0 lib/meibo/errors.rb
meibo-0.25.3 lib/meibo/errors.rb
meibo-0.25.2 lib/meibo/errors.rb
meibo-0.25.1 lib/meibo/errors.rb
meibo-0.25.0 lib/meibo/errors.rb
meibo-0.24.0 lib/meibo/errors.rb
meibo-0.23.0 lib/meibo/errors.rb
meibo-0.22.0 lib/meibo/errors.rb