MCPcopy Create free account
hub / github.com/dtinth/ThreadGPT / APIError

Interface APIError

src/helper/errors.ts:1–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1interface APIError {
2 data: {
3 error: {
4 message: string
5 }
6 }
7}
8const isAPIError = (error: APIError | unknown): error is APIError => {
9 return (
10 typeof error === 'object' &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected