ErrorLocation

constructor(jupyterRequestCount: Int, lineNumber: Int, visibleSourceLines: Int)

Parameters

jupyterRequestCount

User visible request count

lineNumber

line number as reported in the stack trace.

visibleSourceLines

Since the compiler might inject invisible code into the cell, lineNumber can sometimes point to a line outside the visible range. visibleSourceLines tracks the visible limit. Note, a compiler plugin might inject code in the middle of a users code. If this happens, there is no way to detect it, so for now, we ignore the possibility.