Spaces:
Paused
Paused
Download node_modules/@opentelemetry/api/build/src/common/Exception.d.ts from Huzaifa1313/prof002313: direct link, hf CLI and curl.
- Browser
- Download file 640 Bytes
-
https://huggingface.co/spaces/Huzaifa1313/prof002313/resolve/main/node_modules/%40opentelemetry/api/build/src/common/Exception.d.ts
- Command line
-
hf download hf://spaces/Huzaifa1313/prof002313/node_modules/@opentelemetry/api/build/src/common/Exception.d.ts
-
curl -L -o Exception.d.ts https://huggingface.co/spaces/Huzaifa1313/prof002313/resolve/main/node_modules/%40opentelemetry/api/build/src/common/Exception.d.ts
640 Bytes
| interface ExceptionWithCode { | |
| code: string | number; | |
| name?: string; | |
| message?: string; | |
| stack?: string; | |
| } | |
| interface ExceptionWithMessage { | |
| code?: string | number; | |
| message: string; | |
| name?: string; | |
| stack?: string; | |
| } | |
| interface ExceptionWithName { | |
| code?: string | number; | |
| message?: string; | |
| name: string; | |
| stack?: string; | |
| } | |
| /** | |
| * Defines Exception. | |
| * | |
| * string or an object with one of (message or name or code) and optional stack | |
| * | |
| * @since 1.0.0 | |
| */ | |
| export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; | |
| export {}; | |
| //# sourceMappingURL=Exception.d.ts.map |