Select the types of activity you want to include in your feed.
@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
···11+<?php
22+33+/*
44+ * Copyright 2011 Facebook, Inc.
55+ *
66+ * Licensed under the Apache License, Version 2.0 (the "License");
77+ * you may not use this file except in compliance with the License.
88+ * You may obtain a copy of the License at
99+ *
1010+ * http://www.apache.org/licenses/LICENSE-2.0
1111+ *
1212+ * Unless required by applicable law or agreed to in writing, software
1313+ * distributed under the License is distributed on an "AS IS" BASIS,
1414+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515+ * See the License for the specific language governing permissions and
1616+ * limitations under the License.
1717+ */
1818+1919+/**
2020+ * @group storage
2121+ */
2222+class AphrontQueryDuplicateKeyException extends AphrontQueryException {
2323+2424+ private $duplicateKey;
2525+2626+ public function getDuplicateKey() {
2727+ return $this->duplicateKey;
2828+ }
2929+3030+ public function __construct($duplicate_key, $message) {
3131+ $this->duplicateKey = $duplicate_key;
3232+ parent::__construct($message);
3333+ }
3434+}
+12
src/storage/exception/duplicatekey/__init__.php
···11+<?php
22+/**
33+ * This file is automatically generated. Lint this module to rebuild it.
44+ * @generated
55+ */
66+77+88+99+phutil_require_module('phabricator', 'storage/exception/base');
1010+1111+1212+phutil_require_source('AphrontQueryDuplicateKeyException.php');