MCPcopy Create free account
hub / github.com/Snapchat/Valdi / ensureSuccess

Method ensureSuccess

valdi_core/src/valdi_core/cpp/Utils/Result.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void ResultBase::ensureSuccess() const noexcept {
30 SC_ASSERT(success());
31}
32
33void ResultBase::ensureFailure() const noexcept {
34 SC_ASSERT(failure());

Callers 5

registerAssetFunction · 0.80
TEST_PFunction · 0.80
flattenValueFunction · 0.80
resolveSchemaFunction · 0.80
registerSchemaImplFunction · 0.80

Calls

no outgoing calls

Tested by 3

registerAssetFunction · 0.64
TEST_PFunction · 0.64
flattenValueFunction · 0.64