UNPKG

@activadee/n8n-nodes-gradio-client

Version:
9 lines (8 loc) 378 B
import { GradioErrorType } from './types'; export declare class GradioError extends Error { readonly type: GradioErrorType; readonly statusCode?: number; readonly retryable: boolean; constructor(message: string, type: GradioErrorType, statusCode?: number, retryable?: boolean); static fromHttpError(statusCode: number, statusMessage: string): GradioError; }