Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficePatchException

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
78706d0f9c0e with working tree changes
Base
Exception
Implements
ISerializable
Modifiers
sealed

Raised when a JSON Patch or JSON Merge Patch cannot be applied to a structured document such as YAML or TOML: 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
  • OfficePatchException

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.