MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / constructor

Method constructor

node/src/errors.ts:38–41  ·  view source on GitHub ↗
(message: string, code?: string, retryAfter?: number, body?: unknown)

Source from the content-addressed store, hash-verified

36 [ErrorCode.UNAUTHENTICATED]: "unauthenticated",
37 [ErrorCode.PERMISSION_DENIED]: "permission_denied",
38 [ErrorCode.NOT_FOUND]: "not_found",
39 [ErrorCode.CONFLICT]: "conflict",
40 [ErrorCode.RATE_LIMITED]: "rate_limited",
41 [ErrorCode.INTERNAL]: "internal",
42 [ErrorCode.UNAVAILABLE]: "unavailable",
43 [ErrorCode.DEADLINE_EXCEEDED]: "deadline_exceeded",
44 [ErrorCode.TRANSPORT]: "transport",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected