autoframe / components-exception
Core Exception Autoframe Framework
Installs: 1 079
Dependents: 7
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
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 {...}