Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/assert.ts>AssertionError

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class AssertionError
extends Error
Re-export
import { AssertionError } from "https://deno.land/std@0.78.0/node/assert.ts";

Constructors

new
AssertionError(options: AssertionErrorConstructorOptions)

Index Signatures

[key: string]: unknown

Methods

[inspect.custom](recurseTimes: number, ctx: Record<string, unknown>)