Searched refs:withErrCode (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/request/request/frameworks/js/napi/include/ |
H A D | napi_utils.h | 81 void ThrowError(napi_env env, ExceptionErrorCode code, const std::string &msg, bool withErrCode); 84 napi_env env, ExceptionErrorCode errorCode, const std::string &errorMessage, bool withErrCode);
|
H A D | js_common.h | 139 bool withErrCode = true; member
|
/ohos5.0/base/request/request/frameworks/js/napi/src/ |
H A D | request_event.cpp | 139 bool withErrCode = jsParam.task->config_.version == Version::API10; in On() local 141 NapiUtils::ThrowError(env, err.code, err.errInfo, withErrCode); in On() 183 bool withErrCode = jsParam.task->config_.version == Version::API10; in Off() local 185 NapiUtils::ThrowError(env, err.code, err.errInfo, withErrCode); in Off()
|
H A D | js_initialize.cpp | 52 bool withErrCode = version != Version::API8; in Initialize() local 60 … env, E_PARAMETER_CHECK, "Missing mandatory parameters, invalid parameter count", withErrCode); in Initialize() 66 config.withErrCode = withErrCode; in Initialize() 72 NapiUtils::ThrowError(env, err.code, err.errInfo, withErrCode); in Initialize()
|
H A D | napi_utils.cpp | 622 void ThrowError(napi_env env, ExceptionErrorCode code, const std::string &msg, bool withErrCode) in ThrowError() argument 624 napi_value error = CreateBusinessError(env, code, msg, withErrCode); in ThrowError() 656 napi_env env, ExceptionErrorCode errorCode, const std::string &errorMessage, bool withErrCode) in CreateBusinessError() argument 664 if (!withErrCode) { in CreateBusinessError()
|
/ohos5.0/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_initialize.cpp | 722 config.withErrCode = true; in ParseConfig()
|