Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / infrastructure / customfield / exception / PhabricatorCustomFieldNotProxyException.php
blob6fd2f93be6cd1477128e438bdcb8803076af1927
1 <?php
3 final class PhabricatorCustomFieldNotProxyException extends Exception {
5 public function __construct(PhabricatorCustomField $field) {
6 parent::__construct(
7 pht(
8 "Custom field '%s' (with key '%s', of class '%s') can not have a ".
9 "proxy set with %s, because it returned %s from %s.",
10 $field->getFieldName(),
11 $field->getFieldKey(),
12 get_class($field),
13 'setProxy()',
14 'false',
15 'canSetProxy()'));