Interface: ValidationError

validator.ValidationError

Error from the validation function. Contains the path to the node and the offending property as well as a human readable error message.

Properties

error

error: string

Human readable error message.


nodePath

nodePath: Path

Absolute path to the object.


propertyPath

propertyPath: Path

Relative path of the property in the object.