for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hiapi\exceptions\domain;
/**
* @author Andrii Vasyliev <[email protected]>
*/
class RequiredInputException extends DomainException
{
private $field;
public function __construct(string $message, int $code = 0, Throwable $previous = null)
$this->field = $message;
parent::__construct("required input `$message`", $code, $previous);
}
public function getField()
return $this->field;