class AssertionError extends Errorimport { AssertionError } from "https://dotland.deno.dev/std@0.223.0/assert/mod.ts"; Error thrown when an assertion fails. ExamplesExample 1 import { AssertionError } from "https://deno.land/std@0.223.0/assert/assertion_error.ts"; throw new AssertionError("Assertion failed"); ConstructorsnewAssertionError(message: string)Constructs a new instance. import AssertionErrorimport { AssertionError } from "https://dotland.deno.dev/std@0.223.0/assert/mod.ts";