Expand description
The library’s error type and its mapping to process exit classes.
Every error says what failed and where (source, record, line, column, byte), and most
carry a hint telling the user how to fix it. Front ends render the error with
DimaError::report (GUI) or line by line (error: / caused by: / hint:, CLI), and map
DimaError::class to the documented exit codes.
Structs§
- Location
- A position in an input stream. Every field except
sourceis optional because not every error has every coordinate.
Enums§
- Dima
Error - Every error the library reports.
- Exit
Class - Exit classes of the command-line interface (documented exit codes).
- IoAction
- What an I/O operation was doing when it failed.
- IoTarget
- The file or stream an I/O operation used.
Constants§
- THREAD_
LIMIT_ HINT - What to do when the system refuses threads, for this platform: the hint of
DimaError::Systemand of the front ends’ warning when a run continues with fewer threads than requested (D110).
Type Aliases§
- Result
- Convenience alias used throughout the library.