Download packages/client/src/generated/client-error.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/client/src/generated/client-error.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/client/src/generated/client-error.ts
-
curl -L -o client-error.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/client/src/generated/client-error.ts
319 Bytes
| export type ClientErrorReason = "Transport" | "UnexpectedStatus" | "UnsupportedContentType" | "MalformedResponse" | |
| export class ClientError extends Error { | |
| override readonly name = "ClientError" | |
| constructor( | |
| readonly reason: ClientErrorReason, | |
| options?: ErrorOptions, | |
| ) { | |
| super(reason, options) | |
| } | |
| } | |