Sha256: 0c44b4ef429fe4a410bdac91139165ce52eefe4ee9ae13ad5fe2a906f4f892c0

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

module DMAO
  module API
    module Errors

      class InvalidDMP < StandardError

        attr_reader :errors

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