There is such a mechanism, at least in the result object itself. We added error_msg a few weeks ago.