ErrorLocation

class ErrorLocation(val jupyterRequestCount: Int, val lineNumber: Int, val visibleSourceLines: Int)

Class wrapping metadata for locating the source of the error in the user's notebook.

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.

Constructors

Link copied to clipboard
constructor(jupyterRequestCount: Int, lineNumber: Int, visibleSourceLines: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard