skip to Main Content

Exception class not found – PHP

I am trying to define a simple exception hierarchy: Exception -> ServiceDenied -> IpBlocked ServiceDenied.php: <?php namespace MorpherWs3Client; class ServiceDenied extends Exception { function __construct(string $message, int $code) { parent::__construct($message, $code); } } IpBlocked.php: <?php namespace MorpherWs3Client; use MorpherWs3ClientServiceDenied; //…

VIEW QUESTION
Back To Top
Search