allow for exceptions to throw more relevant errors (#344)
allow for exceptions to throw more relevant errors (#344)

* allow for exceptions to throw more relevant errors

* fix clang format
KhronosGroup/Vulkan-Samples,KhronosGroup/Vulkan-Samples,KhronosGroup/Vulkan-Samples,KhronosGroup/Vulkan-Samples,KhronosGroup/Vulkan-Samples,KhronosGroup/Vulkan-Samples