When catching an exception, this allows us to log it if unexpected.
Parameters
$exception_objectExceptionrequired- The exception object.
$functionstringoptional- The function which threw exception.
Default:
'' $argsarrayoptional- The args passed to the function.
Default:
array()
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |