Function unimplemented

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

    Parameters

    • Optionalmsg: string

      Optional message to include in the error.

    Returns never

    Never returns, always throws.

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

    unimplemented(); // Throws