MCPcopy
hub / github.com/CapSoftware/Cap / isBusyError

Function isBusyError

apps/media-server/src/routes/audio.ts:30–32  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

28});
29
30function isBusyError(err: unknown): boolean {
31 return err instanceof Error && err.message.includes("Server is busy");
32}
33
34function isTimeoutError(err: unknown): boolean {
35 return err instanceof Error && err.message.includes("timed out");

Callers 1

audio.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected