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

Method constructor

src/client/api.ts:59–62  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

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> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected