Exception: EbayRequest::Error
- Inherits:
-
StandardError
- Object
- StandardError
- EbayRequest::Error
- Defined in:
- lib/ebay_request/error.rb
Direct Known Subclasses
Trading::AccountSuspended, Trading::ApplicationInvalid, Trading::DailyItemCallLimitReachedError, Trading::IllegalItemStateError, Trading::ItemLimitReachedError, Trading::TokenValidationFailed
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(msg = "EbayRequest error", errors = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg = "EbayRequest error", errors = {}) ⇒ Error
Returns a new instance of Error.
3 4 5 6 |
# File 'lib/ebay_request/error.rb', line 3 def initialize(msg = "EbayRequest error", errors = {}) super(msg) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'lib/ebay_request/error.rb', line 8 def errors @errors end |