MCPcopy Create free account
hub / github.com/bytedance/bolt / onException

Function onException

bolt/expression/Expr.cpp:732–734  ·  view source on GitHub ↗

Used to generate context for an error occurred while evaluating sub-expression. Returns the output of Expr::toString() for the sub-expression.

Source from the content-addressed store, hash-verified

730/// sub-expression. Returns the output of Expr::toString() for the
731/// sub-expression.
732std::string onException(BoltException::Type /*exceptionType*/, void* arg) {
733 return static_cast<Expr*>(arg)->toString();
734}
735} // namespace
736
737void Expr::evalFlatNoNulls(

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected