Sha256: ad5750c6d5943cc108472f624c5f900d569d8f154c4ae23583676ed479e6f199

Contents?: true

Size: 557 Bytes

Versions: 8

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

module Dhis2
  class Error < StandardError; end
  class BulkCreationError < Error
    attr_accessor :import_summary
  end
  class CreationError < Error; end
  class UpdateError   < Error; end
  class PrimaryKeyMissingError < Error; end
  class InvalidRequestError < Error; end
  class CaseError < Error; end
  class InvalidVersionError < Error; end
  class InvalidMethodError < Error; end
  class DataElementAdditionError < Error; end
  class RequestError < Error
    attr_accessor :response, :http_code, :http_body
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dhis2-3.3.1 lib/dhis2/error.rb
dhis2-3.2.1 lib/dhis2/error.rb
dhis2-3.0.7 lib/dhis2/error.rb
dhis2-3.0.5 lib/dhis2/error.rb
dhis2-3.0.4 lib/dhis2/error.rb
dhis2-3.0.3 lib/dhis2/error.rb
dhis2-3.0.2 lib/dhis2/error.rb
dhis2-3.0.0 lib/dhis2/error.rb