Method: Janeway::Error#initialize
- Defined in:
- lib/janeway/error.rb
#initialize(message, query = nil, location = nil) ⇒ Error
Returns a new instance of Error.
17 18 19 20 21 |
# File 'lib/janeway/error.rb', line 17 def initialize(, query = nil, location = nil) super("Jsonpath query #{query} - #{message}") @query = query @location = location end |