Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / infrastructure / customfield / exception / PhabricatorCustomFieldDataNotAvailableException.php
blobc1bc74d366989bf887ca136df246a6b1e449b5be
1 <?php
3 final class PhabricatorCustomFieldDataNotAvailableException extends Exception {
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)));