public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; $this->trigger = $trigger; $this->errorString = $errorString; }
/** * @inheritdoc */ public function __construct($message = self::DEFAULT_MESSAGE, $code = Status::SERVICE_UNAVAILABLE, \Exception $previous = null) { parent::__construct($message, $code, $previous); }