MCPcopy Create free account
hub / github.com/Noumena-Network/code / napi_error

Function napi_error

native/openai-compat-ws-v2-napi/src/lib.rs:46–48  ·  view source on GitHub ↗
(message: impl Into<String>)

Source from the content-addressed store, hash-verified

44}
45
46fn napi_error(message: impl Into<String>) -> napi::Error {
47 napi::Error::from_reason(message.into())
48}
49
50fn ws_url_from_base(raw: &str) -> Result<String> {
51 let mut url =

Callers 9

ws_url_from_baseFunction · 0.85
apply_headersFunction · 0.85
parse_optionsFunction · 0.85
request_ws_commandFunction · 0.85
ws_v2_connectFunction · 0.85
initialize_websocketFunction · 0.85
ws_v2_startFunction · 0.85
ws_v2_nextFunction · 0.85
ws_v2_cancelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected