Sha256: a6a151c44a9f153203088fa2d604cda32e4891c8bd838a385dc74945f4dccb10

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

module DMAO
  module API
    module Errors

      class InvalidProject < 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_project.rb
dmao_api-0.5.0 lib/dmao/api/errors/invalid_project.rb
dmao_api-0.4.0 lib/dmao/api/errors/invalid_project.rb