MCPcopy
hub / github.com/FlowiseAI/Flowise / getErrorMsg

Function getErrorMsg

packages/ui/src/views/tools/CustomMcpServerDialog.jsx:541–542  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

539 }
540
541 const getErrorMsg = (error) =>
542 typeof error.response?.data === 'object' ? error.response.data.message : error.response?.data || error.message
543
544 const addNewServer = async () => {
545 if (!validateServerUrl(serverUrl)) return

Callers 4

addNewServerFunction · 0.85
saveServerFunction · 0.85
authorizeServerFunction · 0.85
deleteServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected