/** * Builds actionable MCP error messages. * * Constitution §VII: "All tool errors MUST include: the SFDMU operation * attempted, the failing Salesforce API field/object, the HTTP status code * if applicable, and a suggested remediation step." */ export interface McpErrorOptions { operation: string; field?: string; httpStatus?: number; message: string; remediation: string; } export declare function buildMcpError(opts: McpErrorOptions): string; export declare class McpToolError extends Error { readonly code: string; readonly operation: string; readonly field?: string; readonly httpStatus?: number; readonly remediation: string; constructor(code: string, opts: McpErrorOptions); toUserMessage(): string; } //# sourceMappingURL=error-builder.d.ts.map