Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

YamlPatchException

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
ba882f6b0d07 with working tree changes
Base
Exception
Implements
ISerializable
Modifiers
sealed

Raised when a JSON Patch or JSON Merge Patch cannot be applied: the patch is malformed, a test fails, a pointer addresses nothing, or the document refuses an edit. The document is unchanged when it is raised.

Inheritance

  • Exception
  • YamlPatchException

Properties

public int OperationIndex { get; } #

Gets the zero-based index of the JSON Patch operation that failed, or -1 when the patch as a whole did.

public string? Path { get; } #

Gets the path member of the operation that failed, when it has one.