! \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(). */
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected