Exception: Pathtraq::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Pathtraq::Error
- Defined in:
- lib/pathtraq.rb
Instance Method Summary collapse
-
#initialize(res, params) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Constructor Details
#initialize(res, params) ⇒ Error
Returns a new instance of Error.
113 114 115 116 |
# File 'lib/pathtraq.rb', line 113 def initialize(res, params) @result = res @params = params end |
Instance Method Details
#message ⇒ Object
118 119 120 |
# File 'lib/pathtraq.rb', line 118 def "Maybe caused by invalid query: #{@params}" end |