Added error handling to the domain/account path methods.