Exception: BigCommerceProductError
- Inherits:
-
StandardError
- Object
- StandardError
- BigCommerceProductError
- Defined in:
- lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#product_identifier ⇒ Object
readonly
Returns the value of attribute product_identifier.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, scope, message, product_identifier, data, original_error) ⇒ BigCommerceProductError
constructor
A new instance of BigCommerceProductError.
Constructor Details
#initialize(status, scope, message, product_identifier, data, original_error) ⇒ BigCommerceProductError
Returns a new instance of BigCommerceProductError.
4 5 6 7 8 9 10 11 12 |
# File 'lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb', line 4 def initialize(status, scope, , product_identifier, data, original_error) @status = status @scope = scope @product_identifier = product_identifier @data = data @original_error = original_error super() end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
2 3 4 |
# File 'lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb', line 2 def data @data end |
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
2 3 4 |
# File 'lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb', line 2 def original_error @original_error end |
#product_identifier ⇒ Object (readonly)
Returns the value of attribute product_identifier.
2 3 4 |
# File 'lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb', line 2 def product_identifier @product_identifier end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
2 3 4 |
# File 'lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb', line 2 def scope @scope end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
2 3 4 |
# File 'lib/huginn_bigcommerce_product_agent/big_commerce_product_error.rb', line 2 def status @status end |