@netlify/content-engine
Version:
5 lines • 368 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;
//# sourceMappingURL=construct-error.d.ts.map