Options
All
  • Public
  • Public/Protected
  • All
Menu

Module util/errorHandling

Index

Functions

Functions

assertNever

  • assertNever(argumentName: string, argument: never): never
  • To be used in (supposedly) unreachable code after exhaustive check of argument.

    remarks

    Will cause a compile-time error if argument was not exhaustively checked. Will cause a runtime error if reached.

    Parameters

    • argumentName: string
    • argument: never

    Returns never

Generated using TypeDoc