I have been looking through some logs and noticed that getError() and getErrors() are throwing deprecated messages in Joomla 3.3 (we just updated). Apparently these were deprecated back in Joomla 2.5, but I am having a hard time finding a solution to update to.
I took a look through the Joomla core files and even they are still using getError() and getErrors(). Is there a replacement for these, or is it like JViewLegacy, etc. where there isn't an alternative at the moment?
An example where I'm using it is for saving a user:
if (!$user->save()) {
$error = $user->getError();
...
}