Version 1.x

Introduction

Version 1 was written to replace ganbarodigital/php-exceptions. That's a library based on an approach to exception handling that Stuart first introduced on the php|cruise back in 2004. It had a good run, but after 12 years we can now do better :)

Key Ideas

The key ideas in Version 1 are:

Components

Version 1 ships with the following components:

Namespace Purpose
GanbaroDigital\ExceptionHelpers\V1\BaseExceptions base classes to build your own exceptions from
GanbaroDigital\ExceptionHelpers\V1\Callers work out who has thrown an exception
GanbaroDigital\ExceptionHelpers\V1\ParameterBuilders helpers for building ParameterisedExceptions with a standard data structure

Click on the namespace to learn more about the classes in that component.