Searched refs:withErrCode (Results 1 – 5 of 5) sorted by relevance
| /base/request/request/frameworks/js/napi/include/ |
| D | napi_utils.h | 72 void ThrowError(napi_env env, ExceptionErrorCode code, const std::string &msg, bool withErrCode); 75 const std::string &errorMessage, bool withErrCode);
|
| D | js_common.h | 112 bool withErrCode = true; member
|
| /base/request/request/frameworks/js/napi/src/ |
| D | request_event.cpp | 137 bool withErrCode = jsParam.task->config_.version == Version::API10; in On() local 138 NapiUtils::ThrowError(env, err.code, err.errInfo, withErrCode); in On() 191 bool withErrCode = jsParam.task->config_.version == Version::API10; in Off() local 192 NapiUtils::ThrowError(env, err.code, err.errInfo, withErrCode); in Off()
|
| D | js_initialize.cpp | 39 bool withErrCode = version != Version::API8; in Initialize() local 46 NapiUtils::ThrowError(env, E_PARAMETER_CHECK, "invalid parameter count", withErrCode); in Initialize() 52 config.withErrCode = withErrCode; in Initialize() 57 NapiUtils::ThrowError(env, err.code, err.errInfo, withErrCode); in Initialize()
|
| D | napi_utils.cpp | 462 void ThrowError(napi_env env, ExceptionErrorCode code, const std::string &msg, bool withErrCode) in ThrowError() argument 464 napi_value error = CreateBusinessError(env, code, msg, withErrCode); in ThrowError() 496 const std::string &errorMessage, bool withErrCode) in CreateBusinessError() argument 504 if (!withErrCode) { in CreateBusinessError()
|