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.
1 parent aaa3dc7 commit 9b68df5Copy full SHA for 9b68df5
src/hyperlight_host/Cargo.toml
@@ -41,6 +41,7 @@ thiserror = "2.0.12"
41
tempfile = { version = "3.20", optional = true }
42
anyhow = "1.0"
43
metrics = "0.24.2"
44
+serde_json = "1.0"
45
46
[target.'cfg(windows)'.dependencies]
47
windows = { version = "0.61", features = [
src/hyperlight_host/src/error.rs
@@ -155,6 +155,10 @@ pub enum HyperlightError {
155
#[cfg(kvm)]
156
KVMError(#[from] kvm_ioctls::Error),
157
158
+ /// Conversion of str to Json failed
159
+ #[error("Conversion of str data to json failed")]
160
+ JsonConversionFailure(#[from] serde_json::Error),
161
+
162
/// An attempt to get a lock from a Mutex failed.
163
#[error("Unable to lock resource")]
164
LockAttemptFailed(String),
0 commit comments