Issue Task Closed

#11161Simplify outputting errors from PHP to the grid component

Oliver Hader 11/30/10, 12:23 updated 10/02/18, 12:38

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.