Expand description
Compiler Error Types
Defines error types used throughout the Neo Solidity compiler pipeline.
All errors implement the standard Error trait for easy integration.
§Error Categories
CompilerError::IoError- File system and I/O errorsCompilerError::ParseError- Syntax and parsing errorsCompilerError::SemanticError- Type checking and semantic errorsCompilerError::CodegenError- Code generation errors
§Source Location
Errors can include source location information via SourceLocation for
better diagnostic messages.
§Fix Suggestions
Errors can include FixSuggestion to help users resolve issues.
Structs§
- Diagnostic
Builder - Builder for creating rich diagnostic messages
- Diagnostic
Data - Diagnostic data (boxed to reduce CompilerError size)
- FixSuggestion
- A suggested fix for an error
- Related
Info - Related diagnostic information
- Source
Location - Source location information for error reporting
Enums§
- Compiler
Error - Error
Code - Error codes for programmatic error handling
- Error
Severity - Error severity levels