Added logic to return Cloudstack API error information