Each of the following exceptions has a token property, referencing the Token that caused the error. You can use Token.position() to get the token's line and column number.
::: jsonpath.JSONPathError handler: python
::: jsonpath.JSONPathSyntaxError handler: python
::: jsonpath.JSONPathTypeError handler: python
::: jsonpath.JSONPathIndexError handler: python
::: jsonpath.JSONPathNameError handler: python