Sha256: e10bded2fb792ffb23a10c3ef735b7e94a61b3c57c05d55931e7a564b7ab442a

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

module DMAO
  module API
    module Errors

      class InvalidPublicationDataset < StandardError

        attr_reader :errors

        def initialize(msg="Invalid publication 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_publication_dataset.rb
dmao_api-0.5.0 lib/dmao/api/errors/invalid_publication_dataset.rb
dmao_api-0.4.0 lib/dmao/api/errors/invalid_publication_dataset.rb