pub enum ClaudePeerSettingsError {
Io(Error),
Json(Error),
Invalid(String),
ChangedDuringWrite,
}Expand description
Failure to read or safely update Claude Code’s user settings.
Variants§
Io(Error)
Filesystem access failed.
Json(Error)
The existing settings file is not valid JSON.
Invalid(String)
The document shape or setting value is not one Supercode can preserve.
ChangedDuringWrite
Another process edited the file during Supercode’s read-modify-write.
Trait Implementations§
Source§impl Debug for ClaudePeerSettingsError
impl Debug for ClaudePeerSettingsError
Source§impl Display for ClaudePeerSettingsError
impl Display for ClaudePeerSettingsError
Source§impl Error for ClaudePeerSettingsError
impl Error for ClaudePeerSettingsError
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) -> Self
fn from(source: ClaudePeerSettingsError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ClaudePeerSettingsError
impl From<Error> for ClaudePeerSettingsError
Auto Trait Implementations§
impl !RefUnwindSafe for ClaudePeerSettingsError
impl !UnwindSafe for ClaudePeerSettingsError
impl Freeze for ClaudePeerSettingsError
impl Send for ClaudePeerSettingsError
impl Sync for ClaudePeerSettingsError
impl Unpin for ClaudePeerSettingsError
impl UnsafeUnpin for ClaudePeerSettingsError
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