MCPcopy Create free account
hub / github.com/QuantumNous/new-api / constructor

Method constructor

web/src/features/task-plugins/api.ts:55–60  ·  view source on GitHub ↗
(
    message: string,
    public usage: TaskPluginUsage
  )

Source from the content-addressed store, hash-verified

53
54export class TaskPluginUsageError extends Error {
55 constructor(
56 message: string,
57 public usage: TaskPluginUsage
58 ) {
59 super(message)
60 }
61}
62
63function requireSuccess<T>(response: ApiResponse<T>): T {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected