MCPcopy Create free account
hub / github.com/cursor/community-plugins / InsertPluginError

Class InsertPluginError

apps/cursor/src/lib/plugins/insert.ts:53–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53export class InsertPluginError extends Error {
54 constructor(
55 message: string,
56 public readonly code:
57 | "duplicate_name"
58 | "duplicate_repo"
59 | "components_failed"
60 | "insert_failed",
61 ) {
62 super(message);
63 this.name = "InsertPluginError";
64 }
65}
66
67export async function insertPlugin(
68 input: InsertPluginInput,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected