Files
aego/script/diag/codes.go
T

109 lines
2.8 KiB
Go

package diag
const (
UnexpectedChar = "AES1001"
UnterminatedString = "AES1002"
InvalidEscape = "AES1003"
ReservedWord = "AES1004"
MalformedNumber = "AES1005"
UnterminatedComment = "AES1006"
InvalidUTF8 = "AES1007"
NewlineInString = "AES1008"
UnexpectedToken = "AES1101"
MissingPackage = "AES1102"
MisplacedAttr = "AES1103"
LateImport = "AES1104"
PackageVar = "AES1105"
DeclInFunction = "AES1106"
BadShortVar = "AES1107"
BadCompositeKey = "AES1108"
TooDeep = "AES1109"
BadForCondition = "AES1110"
ExpectedComposit = "AES1111"
MultiAssign = "AES1112"
ElseOnNewLine = "AES1113"
UndefinedName = "AES2001"
NotAType = "AES2002"
TypeMismatch = "AES2003"
InvalidOperation = "AES2004"
ArgCount = "AES2005"
NotCallable = "AES2006"
NotAssignable = "AES2007"
UnknownField = "AES2008"
NotExported = "AES2009"
NotConstant = "AES2010"
DivisionByZero = "AES2011"
ConstOverflow = "AES2012"
MissingReturn = "AES2013"
MisplacedBranch = "AES2014"
NotExhaustive = "AES2015"
DuplicateCase = "AES2016"
RecursiveStruct = "AES2017"
Redeclared = "AES2018"
ReturnMismatch = "AES2019"
NilMisuse = "AES2020"
BadTypeArg = "AES2021"
Lifecycle = "AES2022"
BadConversion = "AES2023"
NotValue = "AES2024"
Unused = "AES2025"
ConstCycle = "AES2026"
BadConstType = "AES2027"
InvalidComposite = "AES2028"
RegisterLimit = "AES2029"
CompileBlocked = "AES2030"
UnusedVar = "AES2031"
SliceTooWide = "AES2032"
YieldOutside = "AES2050"
CoroutineCall = "AES2051"
StartTarget = "AES2052"
CoroutineDecl = "AES2053"
HandlerMismatch = "AES2054"
BadConnect = "AES2055"
CoroutineLifecycle = "AES2056"
YieldArg = "AES2057"
ScriptRefTarget = "AES2058"
ScriptRefCall = "AES2059"
EventSignature = "AES2060"
EventCall = "AES2061"
NotExportable = "AES3001"
UnknownAttr = "AES3002"
BadAttrArg = "AES3003"
DuplicateAttr = "AES3004"
AttrTarget = "AES3005"
FieldInit = "AES3006"
NotPersistable = "AES3007"
PackageName = "AES4001"
UnknownImport = "AES4002"
DuplicateImport = "AES4003"
SelfImport = "AES4004"
ImportCycle = "AES4005"
DuplicateDecl = "AES4006"
ImportConflict = "AES4007"
UnusedImport = "AES4008"
ReservedPackage = "AES4009"
ModuleConflict = "AES4010"
UnknownHost = "AES5001"
BadBytecode = "AES6100"
)
const (
CodeBudget = "AES6001"
CodeNativePanic = "AES6002"
CodeCallDepth = "AES6003"
CodeNil = "AES6004"
CodeIndex = "AES6005"
CodeDivZero = "AES6006"
CodeBadHandle = "AES6007"
CodeExplicit = "AES6008"
CodeLink = "AES6009"
CodeHost = "AES6010"
)