Home / Type/ StructuredError Type — mcp Architecture

StructuredError Type — mcp Architecture

Architecture documentation for the StructuredError type/interface in types.ts from the mcp codebase.

Entity Profile

Source Code

src/types.ts lines 58–67

export interface StructuredError {
  type: ErrorType;
  message: string;
  code: string;
  recoverable: boolean;
  suggestion?: string;
  details?: Record<string, unknown>;
  reportable?: boolean;
  repo?: string;
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free