public static function errorHandler($code, $message, $file, $line)
    {

        if (error_reporting() === 0) {
            // This error code is not included in error_reporting
            return false;
        }
        throw new \sb\Exception($code, $message, $file, $line);
    }
public static function errorHandler($code, $message, $file, $line)
    {

        if (error_reporting() === 0) {
            // This error code is not included in error_reporting
            return false;
        }
        throw new \sb\Exception($code, $message, $file, $line);
    }
public static function errorHandler ( $ code , $ message , $ file , $ line ) { if ( error_reporting ( ) === 0 ) { // This error code is not included in error_reporting return false ; } throw new \ sb \ Exception ( $ code , $ message , $ file , $ line ) ; }
Converts errors into exceptions
@param integer $code    The error code
@param string  $message The error message
@param string  $file    The file the error occurred in
@param integer $line    The line the error occurred on
Converts errors into exceptions