You are configuring error handling for a data transformation process in Azure Data Factory. What steps would you take to ensure that any errors during the transformation are captured, logged, and handled appropriately to prevent data loss or corruption?