• Creates a JS Error object with the given message and stack.

    If a stack object is provided, the error object is created in the global that it belongs to.

    Returns object

Generated using TypeDoc