@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 PhabricatorCustomFieldDataNotAvailableException extends Exception {
4
5 public function __construct(PhabricatorCustomField $field) {
6 parent::__construct(
7 pht(
8 "Custom field '%s' (with key '%s', of class '%s') is attempting ".
9 "to access data which is not available in this context.",
10 $field->getFieldName(),
11 $field->getFieldKey(),
12 get_class($field)));
13 }
14
15}