Sha256: b075a3ddd7214b6896786624e16b394c44eed031cc15c6c8e04b84acee913ad2

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

module DMAO
  module API
    module Errors

      class InvalidPublication < StandardError

        attr_reader :errors

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