MCPcopy Create free account
hub / github.com/FunAudioLLM/Fun-Audio-Chat / APIError

Class APIError

web_demo/client/src/pages/Queue/api/errors/api_error.ts:1–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export class APIError extends Error {
2 status:number;
3
4 constructor(message:string, status:number) {
5 super(message);
6 this.status = status;
7 this.name = "APIError";
8 }
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected