Cursor

Returns a cursor position object indicating where a cursor should be placed if an application wants to offer the user a way to move the cursor straight to the error location.

>>> try:
...   # ...
... except Error as e:
...   return e.cursor
{ 'index': 56, 'line': 3, 'column': 14 }

Next page: Selection