Home
last modified time | relevance | path

Searched refs:withErrCode (Results 1 – 5 of 5) sorted by relevance

/base/request/request/frameworks/js/napi/include/
Dnapi_utils.h72 void ThrowError(napi_env env, ExceptionErrorCode code, const std::string &msg, bool withErrCode);
75 const std::string &errorMessage, bool withErrCode);
Djs_common.h112 bool withErrCode = true; member
/base/request/request/frameworks/js/napi/src/
Drequest_event.cpp137 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()
Djs_initialize.cpp39 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()
Dnapi_utils.cpp462 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()