CodeIgniter Forums
Extending core classess - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Extending core classess (/showthread.php?tid=66274)



Extending core classess - MarLag - 09-30-2016

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?