MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / Error

Method Error

include/internal/CL/cl.hpp:295–296  ·  view source on GitHub ↗

! \brief Create a new CL error exception for a given error code * and corresponding message. * * \param err error code value. * * \param errStr a descriptive string that must remain in scope until * handling of the exception has concluded. If set, it * will be returned by what(). */

Source from the content-addressed store, hash-verified

293 * will be returned by what().
294 */
295 Error(cl_int err, const char * errStr = NULL) : err_(err), errStr_(errStr)
296 {}
297
298 ~Error() throw() {}
299

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected