Sha256: 176c972ed6c25d51ff5db7ce99d726559c775b93db933a75ef331775580f830b

Contents?: true

Size: 321 Bytes

Versions: 10

Compression:

Stored size: 321 Bytes

Contents

module ConnectorKit
  class Error < StandardError; end

  # Simple model class for representing errors in the App Store Connect API
  class APIError < Error
    attr_reader :detail, :status

    def initialize(message, detail, status)
      super(message)

      @detail = detail
      @status = status
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
appstore_kit_fork-0.0.5 lib/connector_kit/exceptions.rb
appstore_kit_fork-0.0.4 lib/connector_kit/exceptions.rb
appstore_kit_fork-0.0.3 lib/connector_kit/exceptions.rb
appstore_kit_fork-0.0.2 lib/connector_kit/exceptions.rb
appstore_kit_fork-0.0.1 lib/connector_kit/exceptions.rb
connector_kit_fork-0.3.2 lib/connector_kit/exceptions.rb
connector_kit_fork-0.3.1 lib/connector_kit/exceptions.rb
connector_kit-0.3.0 lib/connector_kit/exceptions.rb
connector_kit-0.2.0 lib/connector_kit/exceptions.rb
connector_kit-0.1.0 lib/connector_kit/exceptions.rb