miette 0.9.0

Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::io;

use thiserror::Error;

/**
Error enum for miette. Used by certain operations in the protocol.
*/
#[derive(Debug, Error)]
pub enum MietteError {
    #[error(transparent)]
    IoError(#[from] io::Error),
    #[error("The given offset is outside the bounds of its Source")]
    OutOfBounds,
}