autoframe/components-exception

Core Exception Autoframe Framework

Installs: 1 080

Dependents: 7

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/autoframe/components-exception

2.0.0 2023-06-02 23:22 UTC

This package is auto-updated.

Last update: 2025-10-04 06:02:48 UTC


README

Build Status License: MIT Packagist Version Downloads

PHP array utilities like custom sort, merge for settings profiles, etc

Namespace:

  • Autoframe\Component\Exception

Includes:

  • Namespace:
  • Class: AfrException
  • Extends: Exception
  • Implements: Throwable
  • Overwritable: define a php path that can be included once with a class named AfrException using the desired namespace

If you don't like the default exception class, you can use your own:

define('Autoframe\Components\Exception\SWAP_AFR_EXCEPTION','..dir../CustomAfrException.php');
CustomAfrException.php =>
    class AfrException extends Exception implements Throwable {...}