includes/staticwp-admin.class.php
public static function errorToException($num, $mes, $file = null, $line = null, $context = null)
    {
        throw new Exception($mes, $num);
    }
public static function errorToException($num, $mes, $file = null, $line = null, $context = null)
    {
        throw new Exception($mes, $num);
    }
public static function errorToException ( $ num , $ mes , $ file = null , $ line = null , $ context = null ) { throw new Exception ( $ mes , $ num ) ; }
Error handler to convert errors to exceptions to make it
easier to catch them.

@param int    $num
@param string $mes
@param string $file
@param int    $line
@param array  $context

@return bool
Error handler to convert errors to exceptions to make it easier to catch them .