tvl-depot/tvix/eval/src/errors.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
241 B
Rust
Raw Normal View History

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>;