original_string: public static function error( $num, $message, $file, $line ) 
  	{	
  		$exception = new CCException( static::$error_types[$num]." - ".$message, 0, $num, $file, $line );
  		
  		if ( static::is_fatal_level( $num ) ) 
  		{
  			if ( static::$in_shutdown_process ) 
  			{
  				static::exception( $exception );
  			} else 
  			{
  				throw $exception;
  			}
  		} else 
  		{
  			static::$non_fatals[] = $exception; 
  		}
  	}
code: public static function error( $num, $message, $file, $line ) 
  	{	
  		$exception = new CCException( static::$error_types[$num]." - ".$message, 0, $num, $file, $line );
  		
  		if ( static::is_fatal_level( $num ) ) 
  		{
  			if ( static::$in_shutdown_process ) 
  			{
  				static::exception( $exception );
  			} else 
  			{
  				throw $exception;
  			}
  		} else 
  		{
  			static::$non_fatals[] = $exception; 
  		}
  	}
code_tokens: public static function error ( $ num , $ message , $ file , $ line ) { $ exception = new CCException ( static :: $ error_types [ $ num ] . " - " . $ message , 0 , $ num , $ file , $ line ) ; if ( static :: is_fatal_level ( $ num ) ) { if ( static :: $ in_shutdown_process ) { static :: exception ( $ exception ) ; } else { throw $ exception ; } } else { static :: $ non_fatals [ ] = $ exception ; } }
docstring: The error handler converts PHP errors to CCExceptions.
  These get handled by the CCError exception handler.
  
  Also the error handler decides the fatality of an error.
  
  @param CCException 	$exception
  @return void
docstring_tokens: The error handler converts PHP errors to CCExceptions . These get handled by the CCError exception handler .