MCPcopy Create free account
hub / github.com/boostorg/json / last_error

Method last_error

include/boost/json/basic_parser.hpp:545–549  ·  view source on GitHub ↗

Return the last error. This returns the last error code which was generated in the most recent call to @ref write_some. @par Complexity Constant. @par Exception Safety No-throw guarantee. */

Source from the content-addressed store, hash-verified

543 No-throw guarantee.
544 */
545 system::error_code
546 last_error() const noexcept
547 {
548 return ec_;
549 }
550
551 /** Check if a complete JSON text has been parsed.
552

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected