Enum json_patch::PatchError [−][src]
pub enum PatchError { InvalidPointer, TestFailed, }
This type represents all possible errors that can occur when applying JSON patch
Variants
InvalidPointer
One of the pointers in the patch is invalid
TestFailed
'test' operation failed
Trait Implementations
impl Debug for PatchError
[src]
impl Debug for PatchError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for PatchError
[src]
impl Error for PatchError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for PatchError
[src]
impl Display for PatchError
Auto Trait Implementations
impl Send for PatchError
impl Send for PatchError
impl Sync for PatchError
impl Sync for PatchError