Add documentation about error handling in plugins