| Crates.io | rich-err |
| lib.rs | rich-err |
| version | 0.1.0 |
| created_at | 2025-08-06 22:36:39.740754+00 |
| updated_at | 2025-08-06 22:36:39.740754+00 |
| description | A highly detailed error type for compilers, tracebacks, etc. |
| homepage | |
| repository | https://github.com/RosieTheGhostie/rich-err |
| max_upload_size | |
| id | 1784407 |
| size | 19,912 |
Provides a highly detailed error type designed for:
This serves as a sort of wrapper around ariadne, although it is missing much of
ariadne's functionality. The point is to have a simple interface for constructing error
reports that works well enough for sufficiently simple applications.
As a word of caution, this higher level of detail comes at the cost of higher memory usage. The
RichError struct alone is around 7 times larger than a String, and some features may incur
extra heap allocations as well. Thus, it is not advisable to use rich errors unless an ordinary
error is truly insufficient.