Handles all upgrade errors such as upgrade does not exist, unable to
download, unable to load upgrade.php class file, etc.
__construct(string $message,string $upgrade_id,string $package = '',string $version = '')
The exception message
The ID# of the upgrade
The alias of the package.
The upgrade version.
Process the exception, log and display it as necessary
Report, and add necessary logging
Display the error as necessary, depending on the origin of request (CLI,
web browser, AJAX, etc.)
Render JSON error
Render with no .tpl file found