Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/redis/vendor/https/deno.land/std/assert/mod.ts>fail

🦕 Redis client for Deno 🍕
Very Popular
Go to Latest
function fail
import { fail } from "https://deno.land/x/redis@v0.32.1/vendor/https/deno.land/std/assert/mod.ts";

Forcefully throws a failed assertion.

Examples

Example 1

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

fail("Deliberately failed!"); // Throws

Parameters

optional
msg: string

Returns

never