Lines Matching refs:ErrorHelper
34 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the number of params must be zero or one.");
41 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the first param must be string.");
80 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the number of params must be at least one.");
93 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, errMessage.c_str());
102 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the type of the params must be task.");
126 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the type of the first param must be object or function.");
180 napi_value error = ErrorHelper::NewError(env, 0, "taskpool:: taskGroup has been canceled");