Home
last modified time | relevance | path

Searched refs:PARSE_ERROR_MSG (Results 1 - 25 of 30) sorted by relevance

12

/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/
H A Dmulticast_set_loopback_context.cpp51 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 Dmulticast_set_ttl_context.cpp48 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 Dtcp_server_common_context.cpp62 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
91 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dmulticast_get_loopback_context.cpp55 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
101 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dmulticast_get_ttl_context.cpp52 SetError(PARSE_ERROR_CODE, PARSE_ERROR_MSG); in CheckParamsType()
98 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dtcp_server_send_context.cpp75 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 Dtcp_server_listen_context.cpp86 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 Dmulticast_membership_context.cpp66 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 Dtcp_server_extra_context.cpp114 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 Dlocal_socket_context.cpp68 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 Dcommon_context.cpp94 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dudp_extra_context.cpp125 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dconnect_context.cpp133 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dbind_context.cpp119 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dtcp_send_context.cpp132 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dudp_send_context.cpp156 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dtcp_extra_context.cpp150 return PARSE_ERROR_MSG; in GetErrorMessage()
/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dsocket_error.cpp32 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 Dmodule_template.cpp46 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 Dmonitor_server.cpp325 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 Dmonitor.cpp247 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 Dbase_context.h37 static constexpr const char *PARSE_ERROR_MSG = "Parameter error"; member
H A Dbase_async_work.h47 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 Dclose_context.cpp124 return PARSE_ERROR_MSG; in GetErrorMessage()
H A Dsend_context.cpp171 return PARSE_ERROR_MSG; in GetErrorMessage()

Completed in 9 milliseconds

12