pub enum HarnessInteropSettingsError {
UnsupportedHarness(String),
UnsupportedSetting(String),
InvalidValue {
key: String,
value: String,
},
Claude(ClaudePeerSettingsError),
}Expand description
Failure while inspecting or changing harness interoperability controls.
Variants§
UnsupportedHarness(String)
The harness does not currently expose an interoperability-control provider.
UnsupportedSetting(String)
The requested stable key is not exposed by this harness provider.
InvalidValue
The requested value is not one of the provider’s declared choices.
Claude(ClaudePeerSettingsError)
Native Claude Code settings could not be read or safely changed.
Trait Implementations§
Source§impl Debug for HarnessInteropSettingsError
impl Debug for HarnessInteropSettingsError
Source§impl Error for HarnessInteropSettingsError
impl Error for HarnessInteropSettingsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ClaudePeerSettingsError> for HarnessInteropSettingsError
impl From<ClaudePeerSettingsError> for HarnessInteropSettingsError
Source§fn from(source: ClaudePeerSettingsError) -> HarnessInteropSettingsError
fn from(source: ClaudePeerSettingsError) -> HarnessInteropSettingsError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HarnessInteropSettingsError
impl !UnwindSafe for HarnessInteropSettingsError
impl Freeze for HarnessInteropSettingsError
impl Send for HarnessInteropSettingsError
impl Sync for HarnessInteropSettingsError
impl Unpin for HarnessInteropSettingsError
impl UnsafeUnpin for HarnessInteropSettingsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more