[error-utils] Create @vercel/error-utils package (#8828)

While working on #8742 i found some useful error checking code buried in
the CLI. This PR adds a new private package `@vercel/errors` that moves
those helpful utilities into its own package so it can be used
throughout the monorepo.
This commit is contained in:
Ethan Arrowood
2022-11-02 13:18:00 -06:00
committed by GitHub
parent bcb8d4f812
commit 49f453742b
34 changed files with 956 additions and 29 deletions

View File

@@ -94,7 +94,7 @@ import {
isErrnoException,
isError,
isSpawnError,
} from '../is-error';
} from '@vercel/error-utils';
import isURL from './is-url';
import { pickOverrides } from '../projects/project-settings';
import { replaceLocalhost } from './parse-listen';