Download api/src/error/resource-not-found.ts from Jessedbrown/warran: direct link, hf CLI and curl.
- Browser
- Download file 171 Bytes
-
https://huggingface.co/Jessedbrown/warran/resolve/main/api/src/error/resource-not-found.ts
- Command line
-
hf download hf://Jessedbrown/warran/api/src/error/resource-not-found.ts
-
curl -L -o resource-not-found.ts https://huggingface.co/Jessedbrown/warran/resolve/main/api/src/error/resource-not-found.ts
171 Bytes
| import { BaseError } from "./base-error"; | |
| export class NotFoundError extends BaseError { | |
| constructor(message = 'Resource not found') { | |
| super(message, 404); | |
| } | |
| } | |