MCPcopy Create free account
hub / github.com/RenderKit/embree / getDeviceLastErrorMessage

Method getDeviceLastErrorMessage

kernels/common/device.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 }
277
278 const char* Device::getDeviceLastErrorMessage()
279 {
280 RTCErrorMessage* stored_error = errorHandler.error();
281 return stored_error->msg.c_str();
282 }
283
284 void Device::setThreadErrorCode(RTCError error, std::string const& msg)
285 {

Callers 1

Calls 2

errorMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected