- implemented first bits

This commit is contained in:
Wim Pomp committed 2026-11-14 18:40:19 +01:00
1 parent 47d242cf95
commit ecd3ebdbdc
21 files changed
+1305 -19

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
use strum::IntoStaticStr;
use thiserror::Error;
#[derive(Debug, Error, IntoStaticStr)]
pub enum Error {
#[error(transparent)]
ShapeError(#[from] ndarray::ShapeError),
}
impl Error {
/// the name of the error variant as a static string
pub fn variant_name(&self) -> &'static str {
self.into()
}
}