MCPcopy Create free account
hub / github.com/MicrosoftDocs/mcp / constructor

Method constructor

cli/src/utils/errors.ts:20–22  ·  view source on GitHub ↗
(message: string, options?: ErrorOptions)

Source from the content-addressed store, hash-verified

18
19export class OperationError extends CliError {
20 constructor(message: string, options?: ErrorOptions) {
21 super(message, 1, options);
22 }
23}
24
25export class SilentCliError extends CliError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected