about summary refs log blame commit diff
path: root/tvix/eval/src/errors.rs
blob: 14f6819862b1ae37c7999056721c414a892a53c1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                        
use std::fmt::Display;

#[derive(Debug)]
pub struct Error {}

impl Display for Error {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        writeln!(f, "error")
    }
}

pub type EvalResult<T> = Result<T, Error>;