MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / JSONCONS_CATCH

Function JSONCONS_CATCH

test/corelib/src/json_reader_exception_tests.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 reader.read_next();
41 }
42 JSONCONS_CATCH (const ser_error& e)
43 {
44 CHECK(e.code() == json_errc::expected_comma_or_rbracket);
45 CHECK(14 == e.line());
46 CHECK(30 == e.column());
47 }
48 CHECK(false == decoder.is_valid());
49 }
50 SECTION("test_exception_rbrace")

Callers

nothing calls this directly

Calls 3

codeMethod · 0.45
lineMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected