MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/utils/errors.ts:52–60  ·  view source on GitHub ↗
(
    public readonly stdout: string,
    public readonly stderr: string,
    public readonly code: number,
    public readonly interrupted: boolean,
  )

Source from the content-addressed store, hash-verified

50
51export class ShellError extends Error {
52 constructor(
53 public readonly stdout: string,
54 public readonly stderr: string,
55 public readonly code: number,
56 public readonly interrupted: boolean,
57 ) {
58 super('Shell command failed')
59 this.name = 'ShellError'
60 }
61}
62
63export class TeleportOperationError extends Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected