. * * @package LibreNMS * @link http://librenms.org * @copyright 2019 Tony Murray * @author Tony Murray */ namespace LibreNMS\Interfaces\Exceptions; interface UpgradeableException { /** * Try to convert the given Exception to this exception * It should return null if the Exception cannot be upgraded. * * @param \Exception $exception * @return static|null */ public static function upgrade($exception); }