A Practical Guide to Error Handling and Retries in Agentic Workflows