camelot/thrower

Static class to catch & rethrow PHP errors.

v1.1.0 2021-08-23 09:24 UTC

This package is auto-updated.

Last update: 2024-03-23 15:02:29 UTC


README

This library provides utility functions to help simplify menial tasks.

The Camelot team believes the PHP error reporting system is a mistake. Many built-in functions utilize it, leading to inconsistent results and head scratching.

This library provides some wrappers around some of these functions. Our code should always throw exceptions instead of triggering errors/warnings/notices (excluding deprecation warnings).