MCPcopy Create free account
hub / github.com/WellApp-ai/Well / constructor

Method constructor

shared/errors/base.ts:96–116  ·  view source on GitHub ↗
(
    operation: string,
    context: ErrorContext,
    technicalDetails?: string
  )

Source from the content-addressed store, hash-verified

94
95export class ProcessingError extends BaseError {
96 constructor(
97 operation: string,
98 context: ErrorContext,
99 technicalDetails?: string
100 ) {
101 super({
102 code: ErrorCode.PROCESSING_FAILED,
103 message: `Processing failed during ${operation}`,
104 statusCode: 500,
105 context,
106 recovery: {
107 type: "retry",
108 description:
109 "Retry the operation or contact support if the issue persists",
110 autoRetry: false,
111 maxRetries: 1,
112 },
113 userMessage: `Failed to process ${operation}. Please try again.`,
114 technicalDetails,
115 });
116 }
117}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected