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.

begin
  # ...
rescue Enolib::Error => e
  e.cursor  #=> { index: 56, line: 3, column: 14 }
end

Next page: Selection