Skip to main content
Module

x/mtkruto/0_deps.ts>fail

Cross-runtime JavaScript library for building Telegram clients
Latest
function fail
import { fail } from "https://deno.land/x/mtkruto@0.2.30/0_deps.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