Home
last modified time | relevance | path

Searched refs:ThrowBusinessError (Results 1 - 3 of 3) sorted by relevance

/base/usb/usb_manager/utils/native/include/
H A Dusb_napi_errors.h42 void ThrowBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg);
49 ThrowBusinessError((env), errCode, errMsg); \
/base/usb/usb_manager/utils/native/src/
H A Dusb_napi_errors.cpp56 void ThrowBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in ThrowBusinessError() function
/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp495 ThrowBusinessError(env, USB_DEVICE_PERMISSION_DENIED, "need call requestRight to get the permission"); in CoreConnectDevice()
1182 ThrowBusinessError(env, SYSPARAM_INVALID_INPUT, "The function at least takes two arguments."); in GetControlTransferParam()
1191 ThrowBusinessError(env, SYSPARAM_INVALID_INPUT, "The type of pipe must be USBDevicePipe."); in GetControlTransferParam()
1339 ThrowBusinessError(env, SYSPARAM_INVALID_INPUT, "The function at least takes two arguments."); in GetUsbControlTransferParam()
1348 ThrowBusinessError(env, SYSPARAM_INVALID_INPUT, "The type of pipe must be USBDevicePipe."); in GetUsbControlTransferParam()
1359 ThrowBusinessError(env, SYSPARAM_INVALID_INPUT, "The type of pipe must be USBDeviceRequestParams."); in GetUsbControlTransferParam()

Completed in 4 milliseconds