UNPKG

@beignet/core

Version:

Core framework primitives for Beignet

26 lines 1.27 kB
/** * beignet/core/client/base * * Base HTTP client for making contract-based requests */ /** * Schema validation error re-exported for client users. */ export { SchemaValidationError } from "../errors/index.js"; /** * Contract client error types. */ export type { AnyContractError, ClientContractError, ContractErrorSource, ContractErrorWithCode, ContractErrorWithSource, ContractErrorWithStatus, HttpContractError, InferEndpointContractError, InferEndpointErrorCode, NetworkContractError, ResponseContractError, } from "./client.js"; /** * Contract client runtime helpers. */ export { Client, ContractError, createClient, Endpoint, isContractError, } from "./client.js"; /** * Client error message helpers. */ export { contractErrorMessage, type ErrorMessageOverrides, } from "./error-messages.js"; /** * Contract client inference and call types. */ export type { AutoProvidedHeaders, CallArgs, ClientConfig, EndpointCallArgs, EndpointErrorResult, EndpointResult, EndpointSuccessResult, InferBody, InferEndpointErrorResponse, InferEndpointErrorResponseByStatus, InferEndpointErrorStatus, InferErrorResponse, InferErrorResponseByStatus, InferHeaders, InferPathParams, InferQuery, InferSuccessResponse, } from "./types.js"; //# sourceMappingURL=index.d.ts.map