aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/error.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:23 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:23 +0100
commita82e16c92a026b2fbe3a40a21d7e690242e32ba6 (patch)
tree2b56390408a5ad858d638b5e2a26dd670dbe6bc7 /stockton-render/src/error.rs
parent439219e74090c7158f8dbc33fed4107a5eb7c003 (diff)
WIP refactor(render): add draw passes
Diffstat (limited to 'stockton-render/src/error.rs')
-rw-r--r--stockton-render/src/error.rs7
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()