MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / error

Function error

tests/ktxdiff/ktxdiff_main.cpp:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128template <typename... Args>
129void error(int return_code, Args&&... args) {
130 fmt::print(std::cerr, std::forward<Args>(args)...);
131 std::exit(return_code);
132}
133
134[[nodiscard]] inline std::string errnoMessage() {
135 return std::make_error_code(static_cast<std::errc>(errno)).message();

Callers 15

validateMethod · 0.85
validateHeaderMethod · 0.85
validateIndicesMethod · 0.85
validateLevelIndexMethod · 0.85
calculateExpectedDFDMethod · 0.85
validateDFDMethod · 0.85
validateDFDBasicMethod · 0.85
validateKVDMethod · 0.85
validateKTXglFormatMethod · 0.85

Calls 1

printFunction · 0.50

Tested by

no test coverage detected