application/inc/Exceptions/Exception.php
<?php
namespace App\Exceptions;
use Exception as NativeException;
use Throwable;
class Exception extends NativeException
{
/**
* Set up the exception.
*/
public function __construct(string $message, int $code = 500, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}