Module

x/justaos_orm/test/test.deps.ts>AssertionError

JUSTAOS's ORM (Object–relational mapping) tool is built for Deno and provides transparent persistence for JavaScript objects to Postgres database.
Go to Latest
class AssertionError
extends Error
import { AssertionError } from "https://dotland.deno.dev/x/justaos_orm@v6.4.0/test/test.deps.ts";

Error thrown when an assertion fails.

Examples

Example 1

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

throw new AssertionError("Assertion failed");

Constructors

new
AssertionError(message: string)

Constructs a new instance.

import AssertionError
import { AssertionError } from "https://dotland.deno.dev/x/justaos_orm@v6.4.0/test/test.deps.ts";