Class TypeError
An error reported by the Go type checker.
Import path
import semmle.go.Errors
Direct supertypes
Indirect supertypes
Inherited predicates
getFile | Gets the file in which this error was reported, if it can be determined. | from Error |
getIndex | Gets the index of this error among all errors reported for the same package. | from Error |
getMessage | Gets the message associated with this error. | from Error |
getPackage | Gets the package in which this error was reported. | from Error |
getRawPosition | Gets the raw position reported by the frontend for this error. | from Error |
hasLocationInfo | Holds if this element is at the specified location. The location spans column | from Error |
toString | Gets a textual representation of this error. | from Error |