Address the below error handling issues: - [ ] Raise exception when connection to AB fails.
Address the below error handling issues: