autoframe/components-exception

Core Exception Autoframe Framework

2.0.0 2023-06-02 23:22 UTC

This package is auto-updated.

Last update: 2024-11-04 04:14:29 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 {...}