Sha256: 37da3cd038d82027139ec886ca556d1fdfd9dee1204e1bb9c4c42e6e1c68d687

Contents?: true

Size: 325 Bytes

Versions: 7

Compression:

Stored size: 325 Bytes

Contents

module DMAO
  module API
    module Errors

      class InvalidOrganisationUnit < StandardError

        attr_reader :errors

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

          @errors = errors

          super(msg)

        end

      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dmao_api-0.6.0 lib/dmao/api/errors/invalid_organisation_unit.rb
dmao_api-0.5.0 lib/dmao/api/errors/invalid_organisation_unit.rb
dmao_api-0.4.0 lib/dmao/api/errors/invalid_organisation_unit.rb
dmao_api-0.3.0 lib/dmao/api/errors/invalid_organisation_unit.rb
dmao_api-0.2.1 lib/dmao/api/errors/invalid_organisation_unit.rb
dmao_api-0.2.0 lib/dmao/api/errors/invalid_organisation_unit.rb
dmao_api-0.1.0 lib/dmao/api/errors/invalid_organisation_unit.rb