import * as somefn from "https://deno.land/x/somefn@v0.27.0/ts/error.ts"; FunctionsfassertError断言传入值是一个 Error 常用在错误处理 catch 中.