Exception: IEX::Errors::SymbolNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- IEX::Errors::SymbolNotFoundError
- Defined in:
- lib/iex/errors/symbol_not_found_error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(symbol, response) ⇒ SymbolNotFoundError
constructor
A new instance of SymbolNotFoundError.
Constructor Details
#initialize(symbol, response) ⇒ SymbolNotFoundError
Returns a new instance of SymbolNotFoundError.
7 8 9 10 11 |
# File 'lib/iex/errors/symbol_not_found_error.rb', line 7 def initialize(symbol, response) @response = response @symbol = symbol super "Symbol #{symbol} Not Found" end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response
5 6 7 |
# File 'lib/iex/errors/symbol_not_found_error.rb', line 5 def response @response end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol
4 5 6 |
# File 'lib/iex/errors/symbol_not_found_error.rb', line 4 def symbol @symbol end |