CodeIgniter Forums

Full Version: Extending core classess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Just started with CI4 and I have a problem with extending core classes - according to guide I've created
application/Libraries/Exceptions.php file within

PHP Code:
<?php namespace App\Libraries;

class 
Exceptions extends \Codeigniter\Debug\Exceptions
{
 
   public function exceptionHandler(\Throwable $exception)
 
   {
 
       exit('Done.');
 
   }



but seems not executed. Not so experienced with all CI4 internals (and most probably within PHP autoloading) - any hint?