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

Method setDeviceErrorCode

kernels/common/device.cpp:260–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 }
259
260 void Device::setDeviceErrorCode(RTCError error, std::string const& msg)
261 {
262 RTCErrorMessage* stored_error = errorHandler.error();
263 if (stored_error->error == RTC_ERROR_NONE) {
264 stored_error->error = error;
265 if (msg != "")
266 stored_error->msg = msg;
267 }
268 }
269
270 RTCError Device::getDeviceErrorCode()
271 {

Callers 1

process_errorMethod · 0.80

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected