for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleSAML\Module\casserver\Cas;
use Exception;
/**
* CasException correspond to different cas error codes
* @package SimpleSAML\Module\casserver\Cas
*/
class CasException extends Exception
{
/** @var string */
private string $casCode;
* CasException constructor.
* @param string $casCode
* @param string $message
public function __construct(string $casCode, string $message)
parent::__construct($message);
$this->casCode = $casCode;
}
* @return string
public function getCasCode(): string
return $this->casCode;