MCPcopy Create free account
hub / github.com/cloudflare/moltworker / AuthError

Class AuthError

src/client/api.ts:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58export class AuthError extends Error {
59 constructor(message: string) {
60 super(message);
61 this.name = 'AuthError';
62 }
63}
64
65async function apiRequest<T>(path: string, options: globalThis.RequestInit = {}): Promise<T> {
66 const response = await fetch(`${API_BASE}${path}`, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected