addError(options)

Function

function addError(options)

Type

Interface function

Description

Adds a parser error

Returns

void

Input Parameters

options (JavaScript object) with the following properties:

Example

            function addParserErrors(context) {
     context.addError({
       errorCode: '1000000000',
       lineNumber: '1',
       characterOffset: '1'
   });
} 

          

Related Topics

General Notices