CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-dev (changelog, source)
Search

Class ExternalError

An external data item interpreted as an error or warning reported by an external tool.

Import path

import external.ExternalArtifact

Direct supertypes

Indirect supertypes

Predicates

getColumn

Gets the reported column of the error.

getFile

Gets the file associated with this error.

getLine

Gets the reported line of the error.

getMessage

Gets the error message.

getPath

Gets the absolute path of the file in which the error occurs.

getReporter

Gets the name of the tool that reported the error.

getType

Gets the error type.

getURL

Gets the URL associated with this error.

Inherited predicates

getDataPath

Gets the path of the file this data was loaded from.

from ExternalData
getField

Gets the value of the ith field of this data item.

from ExternalData
getFieldAsDate

Gets the value of the ith field of this data item, interpreted as a date.

from ExternalData
getFieldAsFloat

Gets the floating-point value of the ith field of this data item.

from ExternalData
getFieldAsInt

Gets the integer value of the ith field of this data item.

from ExternalData
getNumFields

Gets the number of fields in this data item.

from ExternalData
getQueryPath

Gets the path of the file this data was loaded from, with its extension replaced by .ql.

from ExternalData
toString

Gets a textual representation of this data item.

from ExternalData