enmanuelar/exception-catcher

ExceptionCatcher provides functions for handling the catching of exceptions and debugging in a simpler way

Maintainers

Package info

github.com/enmanuelar/exception-catcher

Homepage

pkg:composer/enmanuelar/exception-catcher

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2020-10-13 02:17 UTC

This package is auto-updated.

Last update: 2026-03-13 15:48:49 UTC


README

Catch exceptions and debug faster. This package can be used to make debugging easier and pretty print the exceptions to help you find the solution to the problem fast.

Installation

Installation is done via composer

composer require enmanuelar/exception-catcher

Basic Example

You just need to instantiate a new ExceptionCatcher in a catch block and call any function you need.

try {
	...
} catch (Exception $exception) {
	$catcher = new ExceptionCatcher();
	$catcher->printExceptionDetails($exception);
}