fix(error): prefix internal errors with "Internal: "

This commit is contained in:
Nova
2022-06-12 11:39:11 -04:00
parent 2cdadcde95
commit 5a9a6afc51
3 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ impl Spatial {
) -> Result<Rc<Spatial>> {
ensure!(
node.borrow_mut().spatial.is_none(),
"Node already has a Spatial aspect!"
"Internal: Node already has a Spatial aspect!"
);
let spatial = Spatial {
// node: node.downgrade(),