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