for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace LibraryCatalog\Exception;
class AppException extends \Exception
{
/**
* @param mixed $code
* @return AppException
*/
public function setCode($code): AppException
$this->code = $code;
return $this;
}