gotools/internal/typesinternal/errorcode.go

type ErrorCode

const InvalidSyntaxTree

const _

const Test

const BlankPkgName

const MismatchedPkgName

const InvalidPkgUse

const BadImportPath

const BrokenImport

const ImportCRenamed

const UnusedImport

const InvalidInitCycle

const DuplicateDecl

const InvalidDeclCycle

const InvalidTypeCycle

const InvalidConstInit

const InvalidConstVal

const InvalidConstType

const UntypedNilUse

const WrongAssignCount

const UnassignableOperand

const NoNewVar

const MultiValAssignOp

const InvalidIfaceAssign

const InvalidChanAssign

const IncompatibleAssign

const UnaddressableFieldAssign

const NotAType

const InvalidArrayLen

const BlankIfaceMethod

const IncomparableMapKey

const InvalidIfaceEmbed

const InvalidPtrEmbed

const BadRecv

const InvalidRecv

const DuplicateFieldAndMethod

const DuplicateMethod

const InvalidBlank

const InvalidIota

const MissingInitBody

const InvalidInitSig

const InvalidInitDecl

const InvalidMainDecl

const TooManyValues

const NotAnExpr

const TruncatedFloat

const NumericOverflow

const UndefinedOp

const MismatchedTypes

const DivByZero

const NonNumericIncDec

const UnaddressableOperand

const InvalidIndirection

const NonIndexableOperand

const InvalidIndex

const SwappedSliceIndices

const NonSliceableOperand

const InvalidSliceExpr

const InvalidShiftCount

const InvalidShiftOperand

const InvalidReceive

const InvalidSend

const DuplicateLitKey

const MissingLitKey

const InvalidLitIndex

const OversizeArrayLit

const MixedStructLit

const InvalidStructLit

const MissingLitField

const DuplicateLitField

const UnexportedLitField

const InvalidLitField

const UntypedLit

const InvalidLit

const AmbiguousSelector

const UndeclaredImportedName

const UnexportedName

const UndeclaredName

const MissingFieldOrMethod

const BadDotDotDotSyntax

const NonVariadicDotDotDot

const MisplacedDotDotDot

const InvalidDotDotDotOperand

const InvalidDotDotDot

const UncalledBuiltin

const InvalidAppend

const InvalidCap

const InvalidClose

const InvalidCopy

const InvalidComplex

const InvalidDelete

const InvalidImag

const InvalidLen

const SwappedMakeArgs

const InvalidMake

const InvalidReal

const InvalidAssert

const ImpossibleAssert

const InvalidConversion

const InvalidUntypedConversion

const BadOffsetofSyntax

const InvalidOffsetof

const UnusedExpr

const UnusedVar

const MissingReturn

const WrongResultCount

const OutOfScopeResult

const InvalidCond

const InvalidPostDecl

const InvalidChanRange

const InvalidIterVar

const InvalidRangeExpr

const MisplacedBreak

const MisplacedContinue

const MisplacedFallthrough

const DuplicateCase

const DuplicateDefault

const BadTypeKeyword

const InvalidTypeSwitch

const InvalidExprSwitch

const InvalidSelectCase

const UndeclaredLabel

const DuplicateLabel

const MisplacedLabel

const UnusedLabel

const JumpOverDecl

const JumpIntoBlock

const InvalidMethodExpr

const WrongArgCount

const InvalidCall

const UnusedResults

const InvalidDefer

const InvalidGo

const BadDecl

const RepeatedDecl

const InvalidUnsafeAdd

const InvalidUnsafeSlice

const UnsupportedFeature

const NotAGenericType

const WrongTypeArgCount

const CannotInferTypeArgs

const InvalidTypeArg

const InvalidInstanceCycle

const InvalidUnion

const MisplacedConstraintIface

const InvalidMethodTypeParams

const MisplacedTypeParam

const InvalidUnsafeSliceData

const InvalidUnsafeString

const _