ForkError
ForkError:
InvalidUrlError|InvalidBlockError|FailedToForkError|UnexpectedError
Error Returned by tevm_fork procedure
Example
const res = await tevm.fork()
if (res.errors?.length) { console.log(res.errors[0].name) // Unable to fork because eth_blockNumber returned an error console.log(res.errors[0].message) // fork url returned a 503 forbidden error}See
Source
packages/errors/src/actions/ForkError.ts:21