module ObjectPatch

Constants

BaseException

This is a parent exception for anything that is going to get raised by this gem, allowing users of this code to catch all the subclasses.

InvalidIndexError

Raised when the index value that was attempted to be accessed isn’t a numeric identifier or ‘-’ (the special index value defined in JSON Pointer).

InvalidOperation

An exception that gets raised when a patch contains an invalid operation.

MissingTargetException

An exception that gets raised when an operation takes place on a missing hash key, or a missing hash key is somewhere along the path.

ObjectOperationOnArrayException

Raised when a non-integer value is attempted to be used to access some part of an array.

OutOfBoundsException

When an integer value outside the available range of an array is used to access an array this will get raised.

TraverseScalarException

When the path provided attempts to cross a scalar value, this exception will be raised.

VERSION