Exception: IEX::Errors::SymbolNotFoundError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (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

#symbolObject (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