public function InvalidDateException::__construct in Persian Date for Drupal 8 8.4
Constructor.
Parameters
string $field:
mixed $value:
int $code:
\Exception|null $previous:
File
- src/
Library/ Carbon/ Exceptions/ InvalidDateException.php, line 41
Class
Namespace
Drupal\persian_date\Library\Carbon\ExceptionsCode
public function __construct($field, $value, $code = 0, Exception $previous = null) {
$this->field = $field;
$this->value = $value;
parent::__construct($field . ' : ' . $value . ' is not a valid value.', $code, $previous);
}