Spaces:
Sleeping
Sleeping
Download src/libs/shared/api/ApiError.ts from fouadkhalid123/asd: direct link, hf CLI and curl.
- Browser
- Download file 182 Bytes
-
https://huggingface.co/spaces/fouadkhalid123/asd/resolve/main/src/libs/shared/api/ApiError.ts
- Command line
-
hf download hf://spaces/fouadkhalid123/asd/src/libs/shared/api/ApiError.ts
-
curl -L -o ApiError.ts https://huggingface.co/spaces/fouadkhalid123/asd/resolve/main/src/libs/shared/api/ApiError.ts
182 Bytes
| export class ApiError extends Error { | |
| constructor(public status: number, public code: string, message: string) { | |
| super(message); | |
| this.name = "ApiError"; | |
| } | |
| } | |