MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / Error

Method Error

include/sonic/error.h:96–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 ParseResult(SonicError err, size_t off) noexcept : err_(err), off_(off) {}
95 ParseResult(SonicError err) noexcept : err_(err) {}
96 sonic_force_inline SonicError Error() const noexcept { return err_; }
97 sonic_force_inline size_t Offset() const noexcept { return off_; }
98
99 private:

Callers 7

TestGetOnDemandFunction · 0.80
TestGetOnDemandFailedFunction · 0.80
HasParseErrorMethod · 0.80
GetParseErrorMethod · 0.80
ParseLazyFunction · 0.80
UpdateNodeLazyFunction · 0.80
UpdateLazyFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestGetOnDemandFunction · 0.64
TestGetOnDemandFailedFunction · 0.64