MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / FileLineException

Method FileLineException

vulkaninfo/vulkaninfo.h:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95// General error: Get file + line and a short message
96struct FileLineException : std::runtime_error {
97 FileLineException(const std::string &arg, const char *file, int line) : runtime_error(arg) {
98 msg = std::string(file) + ":" + std::to_string(line) + ": " + arg;
99 }
100 ~FileLineException() throw() {}
101 const char *what() const throw() { return msg.c_str(); }
102

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.70

Tested by

no test coverage detected