diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:23 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:23 +0100 |
commit | a82e16c92a026b2fbe3a40a21d7e690242e32ba6 (patch) | |
tree | 2b56390408a5ad858d638b5e2a26dd670dbe6bc7 /stockton-render/src/error.rs | |
parent | 439219e74090c7158f8dbc33fed4107a5eb7c003 (diff) |
WIP refactor(render): add draw passes
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() |