Skip to main content

DiffInverseResourceError

Thrown when a diff cannot be applied back onto a resource, because its field or action is not one the resource knows how to handle.

@group

Errors/Node

@throws

When a diff names a field or action the resource cannot apply back.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string

      The error message.

    • resource: UnknownResource

      The resource the diff was being applied to.

    • diff: Diff

      The diff that could not be applied.

    Returns DiffInverseResourceError

Properties

readonlydiff

diff: DiffSerializedOutput

The diff that could not be applied back.

readonlyinheritednode

node: string

The context of the node.

Page Options