mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Only JSON error if feature dep
This commit is contained in:
@@ -188,8 +188,11 @@ pub enum IdeviceError {
|
||||
CdtunnelPacketInvalidMagic,
|
||||
#[error("Proclaimed packet size does not match actual size")]
|
||||
PacketSizeMismatch,
|
||||
|
||||
#[cfg(feature = "core_device_proxy")]
|
||||
#[error("JSON serialization failed")]
|
||||
Json(#[from] serde_json::Error),
|
||||
|
||||
#[error("unknown error `{0}` returned from device")]
|
||||
UnknownErrorType(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user