Sha256: a908db6aaa69cdd00815947e12ff90e62048f9562255d9aa15a48a8b9f33ce6c

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

module DMAO
  module API
    module Errors

      class InvalidDataset < StandardError

        attr_reader :errors

        def initialize(msg="Invalid dataset details passed in, please see errors.", errors=nil)

          @errors = errors

          super(msg)

        end

      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dmao_api-0.6.0 lib/dmao/api/errors/invalid_dataset.rb
dmao_api-0.5.0 lib/dmao/api/errors/invalid_dataset.rb
dmao_api-0.4.0 lib/dmao/api/errors/invalid_dataset.rb