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

Description Usage Arguments Value See Also Examples

Description

Extracts the errors object from

Usage

1

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

1
2
3
4
5
## Not run: 
my_ajv_instance = Ajv()
my_ajv_instance$errorsText

## End(Not run)

jdthorpe/ajvr documentation built on May 18, 2019, 11:37 p.m.