/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
H A D | multicast_set_loopback_context.cpp | 51 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 58 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 112 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | multicast_set_ttl_context.cpp | 48 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 55 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 109 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | tcp_server_common_context.cpp | 62 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 91 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | multicast_get_loopback_context.cpp | 55 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 101 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | multicast_get_ttl_context.cpp | 52 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 98 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | tcp_server_send_context.cpp | 75 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 86 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 141 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | tcp_server_listen_context.cpp | 86 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 97 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 126 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | multicast_membership_context.cpp | 66 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 73 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 117 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | tcp_server_extra_context.cpp | 114 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 125 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType() 154 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | local_socket_context.cpp | 68 return PARSE_ERROR_MSG; in GetErrorMessage() 87 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsWithOptions() 94 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsWithOptions() 119 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsWithoutOptions() 329 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in ParseParams()
|
H A D | common_context.cpp | 94 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | udp_extra_context.cpp | 125 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | connect_context.cpp | 133 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | bind_context.cpp | 119 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | tcp_send_context.cpp | 132 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | udp_send_context.cpp | 156 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | tcp_extra_context.cpp | 150 return PARSE_ERROR_MSG; in GetErrorMessage()
|
/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | socket_error.cpp | 32 static constexpr const char *PARSE_ERROR_MSG = "Parameter error"; member 38 {PARSE_ERROR_CODE, PARSE_ERROR_MSG}, in MakeErrorMessage()
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | module_template.cpp | 46 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in OnManagerWrapper() 124 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in OffManagerWrapper() 130 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in OffManagerWrapper() 176 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in OnSharedManager() 254 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in OffSharedManager() 260 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in OffSharedManager() 306 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in On() 362 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in Off() 368 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in Off()
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | monitor_server.cpp | 325 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG);
in On() 370 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG);
in ConnectionOn() 402 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG);
in Off() 408 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG);
in Off() 461 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG);
in ConnectionOff() 467 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG);
in ConnectionOff()
|
H A D | monitor.cpp | 247 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in On() 307 napi_throw_error(env, std::to_string(PARSE_ERROR_CODE).c_str(), PARSE_ERROR_MSG); in Off()
|
/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | base_context.h | 37 static constexpr const char *PARSE_ERROR_MSG = "Parameter error"; member
|
H A D | base_async_work.h | 47 context->SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); // if developer not set error, there will set. in ExecAsyncWork()
|
/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/ |
H A D | close_context.cpp | 124 return PARSE_ERROR_MSG; in GetErrorMessage()
|
H A D | send_context.cpp | 171 return PARSE_ERROR_MSG; in GetErrorMessage()
|