We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a27a77 + 3a86942 commit 4b01af5Copy full SHA for 4b01af5
onnxruntime/src/error.rs
@@ -117,7 +117,7 @@ pub enum NonMatchingDimensionsError {
117
#[derive(Error, Debug)]
118
pub enum OrtApiError {
119
/// Details as reported by the ONNX C API in case of error
120
- #[error("Error calling ONNX Runtime C function")]
+ #[error("Error calling ONNX Runtime C function: {0}")]
121
Msg(String),
122
/// Details as reported by the ONNX C API in case of error cannot be converted to UTF-8
123
#[error("Error calling ONNX Runtime C function and failed to convert error message to UTF-8")]
0 commit comments