error
open override fun error(message: String, sourceName: String?, line: Int, lineSource: String?, lineOffset: Int)
Report an error. The implementing class is free to throw an exception.
Report an error.
Parameters
message
a String describing the error
sourceName
the JavaScript source, typically a filename or URL
offset
0-indexed char position of the error in the input stream
length
the length of the region contributing to the error