Sha256: 12abef1ee69ec1eecb90efdd47f31a48ea067de80c4dc13a2ec0d97679439bf9

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module AppstoreKitFork
  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

1 entries across 1 versions & 1 rubygems

Version Path
appstore_kit_fork-0.0.6 lib/appstore_kit_fork/exceptions.rb