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

Class UsageError

cli/src/utils/errors.ts:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13export class UsageError extends CliError {
14 constructor(message: string, options?: ErrorOptions) {
15 super(message, 2, options);
16 }
17}
18
19export class OperationError extends CliError {
20 constructor(message: string, options?: ErrorOptions) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected