Exception: AppstoreKitFork::APIError

Inherits:
Error
  • Object
show all
Defined in:
lib/appstore_kit_fork/exceptions.rb

Overview

Simple model class for representing errors in the App Store Connect API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, detail, status) ⇒ APIError

Returns a new instance of APIError.



8
9
10
11
12
13
# File 'lib/appstore_kit_fork/exceptions.rb', line 8

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

  @detail = detail
  @status = status
end

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail.



6
7
8
# File 'lib/appstore_kit_fork/exceptions.rb', line 6

def detail
  @detail
end

#statusObject (readonly)

Returns the value of attribute status.



6
7
8
# File 'lib/appstore_kit_fork/exceptions.rb', line 6

def status
  @status
end