Options
All
  • Public
  • Public/Protected
  • All
Menu

panic-fn

Index

Functions

Functions

  • panic(messageOrError: string | Error): never
  • Throws specified error or creates and throws new Error with given message

    Parameters

    • messageOrError: string | Error

      Either error message or error object

    Returns never

Generated using TypeDoc