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

Method constructor

source code/utils/errors.ts:54–62  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected