graphql-helix
Version:
A highly evolved GraphQL HTTP Server 🧬
13 lines (12 loc) • 371 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpError = void 0;
class HttpError extends Error {
constructor(status, message, details = {}) {
super(message);
this.status = status;
this.headers = details.headers;
this.graphqlErrors = details.graphqlErrors;
}
}
exports.HttpError = HttpError;