#11161Simplify outputting errors from PHP to the grid component
Description
Simplify outputting errors from PHP to the grid component by providing an internal API to create results like
$result = array(
‘error’ => array(
‘code’ => 1287264746,
‘message’ => $GLOBALS[‘LANG’]->sL(‘LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:error.sendToPrevStage.noPreviousStage’),
),
‘success’ => FALSE,
);
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.