try { // Some code that may throw an exception } catch (Exception $e) { Util::logException($e); // Handle the exception }In this example, `logException()` is called within a try-catch block, which catches any exceptions that may be thrown. If an exception is caught, the `logException()` function is called with the exception object as its argument. This logs the exception and its associated error message to a file or some other output. This function is often included as part of a larger package or library, such as a logging utility, which is designed to assist PHP developers in logging and debugging errors and exceptions in their applications.