gatsby-cli
Version:
Gatsby command-line interface for creating new sites and running Gatsby commands
5 lines (4 loc) • 323 B
TypeScript
import { ErrorId, IErrorMapEntryPublicApi } from "./error-map";
import { IConstructError, IStructuredError } from "./types";
declare const constructError: ({ details: { id, ...otherDetails } }: IConstructError, suppliedErrorMap: Record<ErrorId, IErrorMapEntryPublicApi>) => IStructuredError;
export default constructError;