import { GraphQLServerError } from "./graphql/types.js"; /** * Represents GraphQL specific errors (validation, missing fields, etc.) */ export declare class GraphQLError extends Error { errors: GraphQLServerError[]; constructor(message: string, errors: GraphQLServerError[]); } /** * Centralized error handling for API requests. * Transforms various error types into standardized HTTPError or GraphQLError. */ export declare class ErrorHandler { /** * Transforms any error into a standardized HTTPError or GraphQLError and throws it. * Never returns - always throws an error. * * @throws {HTTPError|GraphQLError} Standardized error with appropriate details */ static handle(error: unknown): never; } //# sourceMappingURL=errors.d.ts.map