Exception: Finitio::TypeError
- Defined in:
- lib/finitio/errors.rb
Overview
class Error
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(msg, cause = nil, location = nil) ⇒ TypeError
constructor
A new instance of TypeError.
Methods inherited from Error
Constructor Details
#initialize(msg, cause = nil, location = nil) ⇒ TypeError
Returns a new instance of TypeError.
29 30 31 32 |
# File 'lib/finitio/errors.rb', line 29 def initialize(msg, cause = nil, location = nil) super(msg, cause) @location = location || '' end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
33 34 35 |
# File 'lib/finitio/errors.rb', line 33 def location @location end |