Add code to extract data from exception thrown
Merge pull request #117 from metridoc/add_error_collection

Add code to extract data from exception thrown