Repository
Current version released
4 years ago
Versions
panic
Functional way of throwing errors in Deno.
usage
import { panic } from "https://deno.land/x/panic@v1.0.0"
panic("Oops, something went wrong");
panic(new Error("Unrecoverable error"));
Functional way of throwing errors in Deno.
import { panic } from "https://deno.land/x/panic@v1.0.0"
panic("Oops, something went wrong");
panic(new Error("Unrecoverable error"));