mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Conduit - document that ERR-CONDUIT-CORE is coming atchya
Summary: Fixes T6863. Seems like this belongs there? Test Plan: loaded up an API in conduit console and saw the new error text Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6863 Differential Revision: https://secure.phabricator.com/D11261
This commit is contained in:
parent
ae0a214574
commit
6de8fe418c
1 changed files with 8 additions and 12 deletions
|
@ -49,19 +49,15 @@ final class PhabricatorConduitConsoleController
|
||||||
}
|
}
|
||||||
|
|
||||||
$error_types = $method->defineErrorTypes();
|
$error_types = $method->defineErrorTypes();
|
||||||
if ($error_types) {
|
$error_types['ERR-CONDUIT-CORE'] = pht('See error message for details.');
|
||||||
$error_description = array();
|
$error_description = array();
|
||||||
foreach ($error_types as $error => $meaning) {
|
foreach ($error_types as $error => $meaning) {
|
||||||
$error_description[] = hsprintf(
|
$error_description[] = hsprintf(
|
||||||
'<li><strong>%s:</strong> %s</li>',
|
'<li><strong>%s:</strong> %s</li>',
|
||||||
$error,
|
$error,
|
||||||
$meaning);
|
$meaning);
|
||||||
}
|
|
||||||
$error_description = phutil_tag('ul', array(), $error_description);
|
|
||||||
} else {
|
|
||||||
$error_description = pht(
|
|
||||||
'This method does not raise any specific errors.');
|
|
||||||
}
|
}
|
||||||
|
$error_description = phutil_tag('ul', array(), $error_description);
|
||||||
|
|
||||||
$form = new AphrontFormView();
|
$form = new AphrontFormView();
|
||||||
$form
|
$form
|
||||||
|
|
Loading…
Reference in a new issue