Function crash

  • Throws an error with a given message.

    Parameters

    • msg: string

      The error message

    Returns never

    Nothing (function never returns due to exception)

    Example

    crash('Zeref?') // throws Error
    

Generated using TypeDoc