function toThrowimport { toThrow } from "https://deno.land/x/expect@v0.4.0/matchers.ts"; toThrow(value: any, error?: RegExp | string): MatchResultParametersvalue: anyoptionalerror: RegExp | stringReturnsMatchResult