updated to return description information in error

Exposes error information that comes back from API to user of SDK.