apollo-error-converter
Version:
Global Apollo Server Error handling made easy. Remove verbose and repetitive resolver / data source Error handling. Ensures no implementation details are ever leaked while preserving internal Error logging.
13 lines (11 loc) • 388 B
JavaScript
const getMapItem = require("./get-map-item");
const parseConfigOptions = require("./parse-config-options");
const shouldErrorPassThrough = require("./should-error-pass-through");
const { handleMappedError, handleUnmappedError } = require("./error-handlers");
module.exports = {
getMapItem,
handleMappedError,
handleUnmappedError,
parseConfigOptions,
shouldErrorPassThrough,
};