for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace LibraryCatalog\Service\Repository;
use LibraryCatalog\Exception\AppException;
class Exception extends AppException
{
public function __construct($message = "", $code = 0, ?\Throwable $previous = null)
if ($message == '') {
$message = 'Repository exception';
}
parent::__construct($message, $code, $previous);