for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Phypes\Error;
class RuleError implements Error
{
private $code;
private $message;
public function __construct(int $code, string $message)
$this->code = $code;
$this->message = $message;
}
public function getCode(): int
return $this->code;
public function getMessage(): string
return $this->message;