MCPcopy Create free account
hub / github.com/apache/fory / helper_error

Function helper_error

cpp/fory/util/result_test.cc:230–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228Result<void, Error> helper_ok() { return Result<void, Error>(); }
229
230Result<void, Error> helper_error() {
231 return Unexpected(Error::invalid("test error"));
232}
233
234Result<int, Error> compute_ok() { return 42; }
235

Callers 1

TEST_FFunction · 0.85

Calls 1

UnexpectedClass · 0.85

Tested by

no test coverage detected