@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class AphrontParameterQueryException extends AphrontQueryException {
4
5 private $query;
6
7 public function __construct($query, $message) {
8 parent::__construct(pht('%s Query: %s', $message, $query));
9 $this->query = $query;
10 }
11
12 public function getQuery() {
13 return $this->query;
14 }
15
16}