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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user