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

Class GitHubParseError

apps/cursor/src/lib/github-plugin/parse.ts:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41export class GitHubParseError extends Error {
42 constructor(
43 message: string,
44 public readonly code: "invalid_url" | "repo_unreadable" | "no_components",
45 ) {
46 super(message);
47 this.name = "GitHubParseError";
48 }
49}
50
51function parseFrontmatter(input: string): {
52 data: Record<string, unknown>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected