for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SlimX\Exceptions;
use SlimX\Models\Error;
class ErrorCodeNotFoundException extends \Exception
{
public function __construct(int $code)
parent::__construct();
$this->message = "Code $code is not registered";
}