Class Error
An error reported by the Go frontend during extraction.
Import path
import semmle.go.ErrorsDirect supertypes
Known direct subtypes
Predicates
| getFile | Gets the file in which this error was reported, if it can be determined. |
| getIndex | Gets the index of this error among all errors reported for the same package. |
| getMessage | Gets the message associated with this error. |
| getPackage | Gets the package in which this error was reported. |
| getRawPosition | Gets the raw position reported by the frontend for this error. |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column |
| toString | Gets a textual representation of this error. |