start to convert ad-hoc errors to explicit types

This commit was merged in pull request #30.
This commit is contained in:
ash lea
2024-12-30 15:28:39 -05:00
committed by Nova King
parent 0adde69049
commit 8708f240b4
23 changed files with 166 additions and 78 deletions

View File

@@ -4,13 +4,16 @@ use super::{
surface::CoreSurface,
utils::*,
};
use crate::nodes::{
drawable::model::ModelPart,
items::panel::{
Backend, ChildInfo, Geometry, PanelItem, PanelItemInitData, SurfaceId, ToplevelInfo,
use crate::{
core::error::Result,
nodes::{
drawable::model::ModelPart,
items::panel::{
Backend, ChildInfo, Geometry, PanelItem, PanelItemInitData, SurfaceId, ToplevelInfo,
},
},
};
use color_eyre::eyre::{eyre, Result};
use color_eyre::eyre::eyre;
use mint::Vector2;
use parking_lot::Mutex;
use rand::Rng;