Download api/src/error/missing-parameter-error.ts from Jessedbrown/warran: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/Jessedbrown/warran/resolve/main/api/src/error/missing-parameter-error.ts
- Command line
-
hf download hf://Jessedbrown/warran/api/src/error/missing-parameter-error.ts
-
curl -L -o missing-parameter-error.ts https://huggingface.co/Jessedbrown/warran/resolve/main/api/src/error/missing-parameter-error.ts
187 Bytes
| import { BaseError } from "./base-error"; | |
| export class MissingParameterError extends BaseError { | |
| constructor(paramName: string) { | |
| super(`Missing param: ${paramName}`, 400); | |
| } | |
| } | |