UNPKG

@burncloud/inference

Version:

Typescript client for the Hugging Face Inference Providers and Inference Endpoints

11 lines (10 loc) 444 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InferenceOutputError = void 0; 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"; } } exports.InferenceOutputError = InferenceOutputError;