UNPKG

graphql-helix

Version:

A highly evolved GraphQL HTTP Server 🧬

9 lines (8 loc) • 242 B
export class HttpError extends Error { constructor(status, message, details = {}) { super(message); this.status = status; this.headers = details.headers; this.graphqlErrors = details.graphqlErrors; } }