Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_slack_data_mapper/dependencies/testing_asserts.ts>AssertionError

A handy way to manage data in Slack's next-generation platform datastores
Latest
class AssertionError
extends Error
Re-export
import { AssertionError } from "https://deno.land/x/deno_slack_data_mapper@2.6.1/dependencies/testing_asserts.ts";

Error thrown when an assertion fails.

Examples

Example 1

import { AssertionError } from "https://deno.land/std@0.224.0/assert/assertion_error.ts";

throw new AssertionError("Assertion failed");

Constructors

new
AssertionError(message: string)

Constructs a new instance.