Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / config / view / PhabricatorInFlightErrorView.php
blob2f1ad7bc337f74b2b7bb410796b73ac7d0c1ffdd
1 <?php
3 final class PhabricatorInFlightErrorView extends AphrontView {
5 private $message;
7 public function setMessage($message) {
8 $this->message = $message;
9 return $this;
12 public function getMessage() {
13 return $this->message;
16 public function render() {
17 return phutil_tag(
18 'div',
19 array(
20 'class' => 'in-flight-error-detail',
22 array(
23 phutil_tag(
24 'h1',
25 array(
26 'class' => 'in-flight-error-title',
28 pht('A Troublesome Encounter!')),
29 phutil_tag(
30 'div',
31 array(
32 'class' => 'in-flight-error-body',
34 pht(
35 'Woe! This request had its journey cut short by unexpected '.
36 'circumstances (%s).',
37 $this->getMessage())),
38 ));