Exception: Trader::NotSupportedError
- Inherits:
-
BackendError
- Object
- StandardError
- Error
- BackendError
- Trader::NotSupportedError
- Defined in:
- lib/trade-o-matic/errors.rb
Instance Attribute Summary collapse
-
#feature ⇒ Object
readonly
Returns the value of attribute feature.
Attributes inherited from BackendError
Instance Method Summary collapse
-
#initialize(_backend, _feature) ⇒ NotSupportedError
constructor
A new instance of NotSupportedError.
Constructor Details
#initialize(_backend, _feature) ⇒ NotSupportedError
Returns a new instance of NotSupportedError.
18 19 20 21 |
# File 'lib/trade-o-matic/errors.rb', line 18 def initialize(_backend, _feature) super _backend, "#{_feature} not supported" @feature = _feature end |
Instance Attribute Details
#feature ⇒ Object (readonly)
Returns the value of attribute feature.
16 17 18 |
# File 'lib/trade-o-matic/errors.rb', line 16 def feature @feature end |