UNPKG

@burncloud/inference

Version:

Typescript client for the Hugging Face Inference Providers and Inference Endpoints

7 lines (6 loc) 282 B
export class InferenceOutputError extends TypeError { constructor(message) { super(`Invalid inference output: ${message}. Use the 'request' method with the same parameters to do a custom call with no type checking.`); this.name = "InferenceOutputError"; } }