Forcefully throws a failed assertion.
Optional
Optional message to include in the error.
Never returns, always throws.
import { fail } from "@std/assert";fail("Deliberately failed!"); // Throws Copy
import { fail } from "@std/assert";fail("Deliberately failed!"); // Throws
Forcefully throws a failed assertion.