unimplemented

import { unimplemented } from "jsr:@ende/assert";

function

function unimplemented(msg?: string): never

Use this to stub out methods that will throw when invoked.

msg?: string

Optional message to include in the error.

Returns

Never returns, always throws.

Example: Usage

import { unimplemented } from "@ende/assert";

unimplemented(); // Throws

Source