MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / getErrorText

Function getErrorText

daemon/src/service/network_limit_service.ts:24–26  ·  view source on GitHub ↗
(err: any)

Source from the content-addressed store, hash-verified

22}
23
24function getErrorText(err: any): string {
25 return `${err?.stderr || ""}\n${err?.stdout || ""}\n${err?.message || ""}`;
26}
27
28function isPermissionError(err: any): boolean {
29 const errorText = getErrorText(err);

Callers 4

isPermissionErrorFunction · 0.85
applyIngressLimitMethod · 0.85
isAlreadyExistsErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected