EnoError » cursor

cursor → [line, column]

Returns a cursor position as an array of the form [line, column], 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.

javascripttry {
  // ...
} catch(err) {
  if(err instanceof EnoError) {
    err.cursor;  // returns [3, 14]
  }
}

Return value

An array, where [0] is the line number, and [1] is the column number.