MCPcopy Create free account
hub / github.com/electric-sql/electric / readErrorText

Function readErrorText

packages/agents-runtime/src/runtime-server-client.ts:344–351  ·  view source on GitHub ↗
(response: Response)

Source from the content-addressed store, hash-verified

342 }
343
344 const readErrorText = async (response: Response): Promise<string> => {
345 try {
346 const text = await response.text()
347 return text || response.statusText
348 } catch {
349 return response.statusText
350 }
351 }
352
353 const sendEntityMessage = async ({
354 targetUrl,

Callers 15

sendEntityMessageFunction · 0.85
createAttachmentFunction · 0.85
readAttachmentFunction · 0.85
getEntityFunction · 0.85
spawnEntityFunction · 0.85
forkEntityFunction · 0.85
ensureStreamFunction · 0.85
signalEntityFunction · 0.85
unregisterWakeFunction · 0.85
registerWakeFunction · 0.85
ensureCronStreamFunction · 0.85

Calls 1

textMethod · 0.80

Tested by

no test coverage detected