Enum json_patch::PatchError
source · pub enum PatchError {
InvalidPointer,
TestFailed,
}
Expand description
This type represents all possible errors that can occur when applying JSON patch
Variants§
Trait Implementations§
source§impl Debug for PatchError
impl Debug for PatchError
source§impl Display for PatchError
impl Display for PatchError
source§impl Error for PatchError
impl Error for PatchError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more