a magical type for displaying source file errors
Add the following to your Cargo.toml
file's [dependencies]
heading
toml
[dependencies]
source-error = "0.1"
🚧 Interfaces are not yet finalized and are subject to change
This crate is intended as a visual reporting diagnostic for tools which operate on text sources.
The source_error::Error
type provides a helpful Display
and can be used on in any Error
context
```rust use sourceerror::{fromfile, Position}; use std::error::Error;
fn main() -> Result<(), Box
Doug Tangren (softprops) 2019