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

Class CmdopError

node/src/errors.ts:12–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 readonly details?: unknown,
11 ) {
12 super(message);
13 this.name = new.target.name;
14 this.retryable = retryable;
15 Object.setPrototypeOf(this, new.target.prototype);
16 }
17}
18
19export class AuthError extends CmdopError {}
20export class PermissionError extends CmdopError {}
21export class NotFoundError extends CmdopError {}
22export class ConflictError extends CmdopError {}
23export class ValidationError extends CmdopError {}
24export class RateLimitError extends CmdopError {}
25export class ServerError extends CmdopError {}
26export class ConnectionError extends CmdopError {}
27export class TimeoutError extends ConnectionError {}
28export class UnavailableError extends CmdopError {}
29export class UnsupportedError extends CmdopError {}
30export class ProtocolError extends CmdopError {}
31export class AgentStreamError extends CmdopError {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected