camelot/thrower

Static class to catch & rethrow PHP errors.

Installs: 263

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/camelot/thrower

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

This package is auto-updated.

Last update: 2025-09-23 18:12:16 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).