Improve documentation about error reporting