controller->response->statusCode() >= 500) { $data['exception']['message'] = __d('cake', 'An Internal Error Has Occurred.'); } return $data; } }