/** * @param array string $message Human readable error message directed at the end user * @param array $properties List of additional error properties to set * @param int|float|null $now Timestamp that the error should be marked with, in UNIX or PHP's microtime(true) */ public function __construct($message, array $properties = [], $now = null) { $this->setMessage($message); parent::__construct($properties); if (!isset($properties['@time'])) { $now || ($now = microtime(true)); $this->setTime($now); } }