chore(assert): remove redundant constructor example (#5506)

chore(assert): remove constructor example
This commit is contained in:
Asher Gomez 2024-07-23 13:04:10 +10:00 committed by GitHub
parent 5cff014b02
commit 8efc049ddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,13 +13,6 @@
*/
export class AssertionError extends Error {
/** Constructs a new instance.
*
* @example Usage
* ```ts no-eval
* import { AssertionError } from "@std/assert";
*
* throw new AssertionError("Assertion failed");
* ```
*
* @param message The error message.
*/