Barracuda Application Server C/C++ Reference
NO
JErr Struct Reference

Detailed Description

The JSON error container object.

#include <JParser.h>

Public Member Functions

 JErr ()
 Create a new object.
 
void reset ()
 Reset – remove any error so the object can be reused.
 
bool isError ()
 Returns true if the error flag is set.
 
bool noError ()
 Returns true if no error.
 
JErrT getErrT ()
 Returns the error type.
 
JVType getExpT ()
 Returns the expected type if this is a parse error. More...
 
JVType getRecT ()
 Returns the parsed type if this is a parse error. More...