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

Function onModuleFailure

valdi_core/src/valdi_core/cpp/Resources/ValdiArchive.cpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39ValdiArchive::ValdiArchive(const Byte* dataBegin, const Byte* dataEnd) : _dataBegin(dataBegin), _dataEnd(dataEnd) {}
40
41Error onModuleFailure(Error&& error) {
42 return error.rethrow("Invalid Valdi Archive");
43}
44
45static Result<BytesView> parseField(Parser<Byte>& parser, const LengthField& length) {
46 auto size = length.size();

Callers 2

parseFieldFunction · 0.85
getEntriesMethod · 0.85

Calls 1

rethrowMethod · 0.80

Tested by

no test coverage detected