Lines Matching refs:error
2265 __attribute__((diagnose_if(!(expr), #expr, "error"))) \
2270 __attribute__((diagnose_if(!(expr), msg, "error"))) \
2273 # define JSON_HEDLEY_REQUIRE(expr) __attribute__((diagnose_if(!(expr), #expr, "error")))
2274 # define JSON_HEDLEY_REQUIRE_MSG(expr,msg) __attribute__((diagnose_if(!(expr), msg, "error")))
2374 #error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
2378 #error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
2476 // ranges header shipping in GCC 11.1.0 (released 2021-04-27) has syntax error
4392 /// an exception object as storage for error messages
4396 /// @brief exception indicating a parse error
4402 @brief create a parse error exception
4404 @param[in] pos the position where the error occurred (or with
4413 std::string w = concat(exception::name("parse_error", id_), "parse error",
4421 std::string w = concat(exception::name("parse_error", id_), "parse error",
4428 @brief byte index of the parse error
6695 @brief a parse error occurred
6696 @param[in] position the position in the input where the error occurs
6698 @param[in] ex an exception object describing the error
6906 /// whether a syntax error occurred
7209 /// whether a syntax error occurred
7355 parse_error, ///< indicating a parse error
7394 return "<parse error>";
7467 @return codepoint (0x0000..0xFFFF) or -1 in case of an error (e.g. EOF or
7508 error message and return false. Otherwise, return true.
8238 accepts the number. State "error" is a trap state to model errors. In the
8243 init | zero | any1 | [error] | [error] | minus | [error] | [error]
8244 minus | zero | any1 | [error] | [error] | [error] | [error] | [error]
8247 decimal1 | decimal2 | decimal2 | [error] | [error] | [error] | [error] | [error]
8249 exponent | any2 | any2 | [error] | sign | sign | [error] | [error]
8250 sign | any2 | any2 | [error] | [error] | [error] | [error] | [error]
8634 for use in error messages.
8772 /// return syntax error message
8891 // error
8914 /// raw input token string (for error messages)
9115 error, ///< throw a parse_error exception in case of a tag
9182 const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
9807 case cbor_tag_handler_t::error:
11984 @param[in] detail a detailed error message
11992 std::string error_msg = "syntax error while parsing ";
12188 @throw parse_error.102 if to_unicode fails or surrogate error
12207 // in case of an error, return discarded value
12234 // in case of an error, return discarded value
12566 std::string error_msg = "syntax error ";
13899 // error condition (cf. RFC 6901, Sect. 4)
13905 // error condition (cf. RFC 6901, Sect. 4)
13997 an error situation, because primitive values may only occur as
16867 static_assert(kPrecision == 64, "internal error");
16985 "internal error: dtoa_short requires an IEEE-754 floating-point implementation");
17373 static_assert(kAlpha >= -60, "internal error");
17374 static_assert(kGamma <= -32, "internal error");
17674 "internal error: not enough precision");
18721 // negative value indicates an error
23510 const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
23526 const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
23541 const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
23552 const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
23996 // context-sensitive error message
24013 // no error: return value