Stores detailed information about an error.
More...
#include <error.h>
Stores detailed information about an error.
Fields:
error_type: A string representing the error category/type.
file_path: Source file path where the error occurred.
message: Primary error message describing the issue.
line: Line number in the source file.
col: Column number in the source line.
line_text: (Optional) The full text of the source line.
token_length: Length of the token related to the error.
label: (Optional) A label to highlight part of the error context.
note: (Optional) Additional notes or explanations.
help: (Optional) Suggestions or help messages for fixing the error.
◆ col
| int ErrorInformation::col |
◆ error_type
| const char* ErrorInformation::error_type |
◆ file_path
| const char* ErrorInformation::file_path |
◆ help
| const char* ErrorInformation::help |
◆ label
| const char* ErrorInformation::label |
◆ line
| int ErrorInformation::line |
◆ line_text
| const char* ErrorInformation::line_text |
◆ message
| const char* ErrorInformation::message |
◆ note
| const char* ErrorInformation::note |
◆ token_length
| int ErrorInformation::token_length |
The documentation for this struct was generated from the following file: