Enum PointerParseErrorCode

Description

Error code of parsing.

See
GenericPointer::GenericPointer, GenericPointer::GetParseErrorCode

Values

kPointerParseErrorNone = 0

The parse is successful.

kPointerParseErrorTokenMustBeginWithSolidus

A token must begin with a '/'.

kPointerParseErrorInvalidEscape

Invalid escape.

kPointerParseErrorInvalidPercentEncoding

Invalid percent encoding in URI fragment.

kPointerParseErrorCharacterMustPercentEncode

A character must percent encoded in URI fragment.

Source

Lines 37-44 in include/rapidjson/pointer.h.

enum PointerParseErrorCode {
    kPointerParseErrorNone = 0,                     //!< The parse is successful

    kPointerParseErrorTokenMustBeginWithSolidus,    //!< A token must begin with a '/'
    kPointerParseErrorInvalidEscape,                //!< Invalid escape
    kPointerParseErrorInvalidPercentEncoding,       //!< Invalid percent encoding in URI fragment
    kPointerParseErrorCharacterMustPercentEncode    //!< A character must percent encoded in URI fragment
};





Add Discussion as Guest

Log in