diff options
Diffstat (limited to 'stockton-render/src/error.rs')
-rw-r--r-- | stockton-render/src/error.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stockton-render/src/error.rs b/stockton-render/src/error.rs index 73726b2..6c895eb 100644 --- a/stockton-render/src/error.rs +++ b/stockton-render/src/error.rs @@ -46,6 +46,13 @@ pub enum EnvironmentError { NoQueues, } +/// Indicates an issue with the level object being used +#[derive(Debug, Error)] +pub enum LevelError { + #[error("Referential Integrity broken")] + BadReference, +} + pub fn full_error_display(err: anyhow::Error) -> String { let cont = err .chain() |