summaryrefslogtreecommitdiff
path: root/candle-core/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-core/src/error.rs')
-rw-r--r--candle-core/src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/candle-core/src/error.rs b/candle-core/src/error.rs
index caad3e1f..27fd11bb 100644
--- a/candle-core/src/error.rs
+++ b/candle-core/src/error.rs
@@ -139,6 +139,9 @@ pub enum Error {
rhs_stride: Vec<usize>,
mnk: (usize, usize, usize),
},
+
+ #[error("cannot find tensor {path}")]
+ CannotFindTensor { path: String },
}
pub type Result<T> = std::result::Result<T, Error>;