Skip to content

Error Code Format

Back to Error Reference

Overview

Error codes follow the pattern E<NNNN> where the first digit indicates the category:

RangeCategory
E1xxxParse errors -- syntax and tokenization
E2xxxSemantic errors -- types, scopes, validation
E25xxType errors -- overflow, bounds, casts
E3xxxCodegen errors -- bytecode generation, NeoVM limits
E4xxxI/O errors -- files, imports, permissions
E5xxxSecurity warnings -- reentrancy, unsafe patterns

MIT Licensed