ferrunix_core/error.rs
1//! All errors that might happen.
2#![allow(clippy::module_name_repetitions)]
3
4use thiserror::Error;
5
6/// Errors happening during resolving of lazy types.
7#[derive(Debug, Error)]
8#[non_exhaustive]
9pub enum ResolveError {
10 /// The lock for the inner value couldn't be acquired.
11 #[error("lock couldn't be acquired")]
12 LockAcquire,
13 /// Some of the required dependencies are missing.
14 #[error("couldn't resolve dependencies")]
15 DependenciesMissing,
16}