In a PyEZ automation script, you use `dev.config.load(path='leaf-config.conf', format='text', merge=True)` followed by `dev.config.commit()`. The commit fails with a commit-check error. Which PyEZ method should you call to retrieve the detailed error reason before rolling back?
- Adev.config.diff() to compare running and candidate configurations
- Bdev.config.rollback() which returns the error details as its return value
- Cdev.config.commit_check() to validate and retrieve error messages before committing
- Ddev.cli('show log messages') to read the system log for commit errors