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

Description Usage Arguments Value See Also Examples

View source: R/ajv_methods.R

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)

Example output

function (...) 
ajv.errorsText(x, ...)
<environment: 0x2fe42b0>

ajv documentation built on May 2, 2019, 2:11 p.m.