mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
13 lines
425 B
PHP
13 lines
425 B
PHP
<?
|
|
namespace Exceptions;
|
|
|
|
use Safe\DateTimeImmutable;
|
|
|
|
class InvalidGitCommitCreatedDatetimeException extends AppException{
|
|
/** @var string $message */
|
|
protected $message = 'Invalid GitCommit Created datetime.';
|
|
|
|
public function __construct(DateTimeImmutable $createdDatetime){
|
|
$this->message = 'Invalid GitCommit Created datetime. ' . $createdDatetime->format('Y-m-d') . ' is after ' . NOW->format('Y-m-d') . '.';
|
|
}
|
|
}
|