mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
chore(assert): remove redundant constructor example (#5506)
chore(assert): remove constructor example
This commit is contained in:
parent
5cff014b02
commit
8efc049ddf
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user