autoframe / components-exception
Core Exception Autoframe Framework
2.0.0
2023-06-02 23:22 UTC
Requires
- php: ^7.4 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^9.5 || ^10.0
README
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 {...}