Learn R Programming

ajv (version 1.0.0)

ajv.errorsText: A wrapper for the Ajv.errorsText method

Description

Extracts the errors object from

Usage

ajv.errorsText(this)

Arguments

this
An AJV instance, provided implicitly when called via my_instance$errorsText(...)

Value

JSON encoded object containing the error message (if any), with class "AJV-errorsText" for pretty printing via print.errorsText

See Also

Other AJV.Instance.Methods: ajv.addFormat, ajv.addKeyword, ajv.addSchema, ajv.keyword, ajv.removeSchema, ajv.validateSchema, ajv.validate

Examples

Run this code
## Not run: ------------------------------------
# my_ajv_instance = Ajv()
# my_ajv_instance$errorsText
## ---------------------------------------------

Run the code above in your browser using DataLab