original_string: public static function exception_handler(\Exception $e)
  	{
  		if (method_exists($e, 'handle'))
  		{
  			return $e->handle();
  		}
  
  		$severity = ( ! isset(static::$levels[$e->getCode()])) ? $e->getCode() : static::$levels[$e->getCode()];
  		logger(\Fuel::L_ERROR, $severity.' - '.$e->getMessage().' in '.$e->getFile().' on line '.$e->getLine());
  
  		if (\Fuel::$env != \Fuel::PRODUCTION)
  		{
  			static::show_php_error($e);
  		}
  		else
  		{
  			static::show_production_error($e);
  		}
  	}
code: public static function exception_handler(\Exception $e)
  	{
  		if (method_exists($e, 'handle'))
  		{
  			return $e->handle();
  		}
  
  		$severity = ( ! isset(static::$levels[$e->getCode()])) ? $e->getCode() : static::$levels[$e->getCode()];
  		logger(\Fuel::L_ERROR, $severity.' - '.$e->getMessage().' in '.$e->getFile().' on line '.$e->getLine());
  
  		if (\Fuel::$env != \Fuel::PRODUCTION)
  		{
  			static::show_php_error($e);
  		}
  		else
  		{
  			static::show_production_error($e);
  		}
  	}
code_tokens: public static function exception_handler ( \ Exception $ e ) { if ( method_exists ( $ e , 'handle' ) ) { return $ e -> handle ( ) ; } $ severity = ( ! isset ( static :: $ levels [ $ e -> getCode ( ) ] ) ) ? $ e -> getCode ( ) : static :: $ levels [ $ e -> getCode ( ) ] ; logger ( \ Fuel :: L_ERROR , $ severity . ' - ' . $ e -> getMessage ( ) . ' in ' . $ e -> getFile ( ) . ' on line ' . $ e -> getLine ( ) ) ; if ( \ Fuel :: $ env != \ Fuel :: PRODUCTION ) { static :: show_php_error ( $ e ) ; } else { static :: show_production_error ( $ e ) ; } }
docstring: PHP Exception handler
  
  @param   Exception  $e  the exception
  @return  bool
docstring_tokens: PHP Exception handler