We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f71a2 commit de83f13Copy full SHA for de83f13
1 file changed
maxima-lib/src/core/error.rs
@@ -1,5 +1,4 @@
1
use thiserror::Error;
2
-use crate::util::dll_injector::InjectionError;
3
4
#[derive(Error, Debug)]
5
pub enum BackgroundServiceClientError {
@@ -13,8 +12,9 @@ pub enum BackgroundServiceClientError {
13
12
Reqwest(#[from] reqwest::Error),
14
#[error(transparent)]
15
Registry(#[from] crate::util::registry::RegistryError),
+ #[cfg(windows)]
16
17
- Injection(#[from] InjectionError),
+ Injection(#[from] crate::util::dll_injector::InjectionError),
18
19
#[error("request failed: `{0}`")]
20
Request(String),
0 commit comments