aboutsummaryrefslogtreecommitdiff
path: root/src/errors/injectable.rs
blob: 6b0cdc5886a0411b17d9d1cc7c8ba1fdbcb57555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use core::fmt;
use std::fmt::{Display, Formatter};

use error_stack::Context;

#[derive(Debug)]
pub struct ResolveError;

impl Display for ResolveError
{
    fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result
    {
        fmt.write_str("Failed to resolve injectable struct")
    }
}

impl Context for ResolveError {}