UNPKG

@oazmi/build-tools

Version:

general deno build tool scripts which I practically use in all of my typescript repos

25 lines 625 B
/** * Error thrown when an assertion fails. * * @example Usage * ```ts no-eval * import { AssertionError } from "@std/assert/assertion-error"; * * throw new AssertionError("Assertion failed"); * ``` */ export declare class AssertionError extends Error { /** Constructs a new instance. * * @example Usage * ```ts no-eval * import { AssertionError } from "@std/assert/assertion-error"; * * throw new AssertionError("Assertion failed"); * ``` * * @param message The error message. */ constructor(message: string); } //# sourceMappingURL=assertion_error.d.ts.map