Exception: ShopifyApp::BillingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shopify_app/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, errors) ⇒ BillingError

Returns a new instance of BillingError.



8
9
10
11
12
# File 'lib/shopify_app/errors.rb', line 8

def initialize(message, errors)
  super(message)
  @message = message
  @errors = errors
end

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



6
7
8
# File 'lib/shopify_app/errors.rb', line 6

def errors
  @errors
end

#messageObject

Returns the value of attribute message.



5
6
7
# File 'lib/shopify_app/errors.rb', line 5

def message
  @message
end