Exception: IEX::Errors::StatNotFoundError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

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

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