spirv_cross icon indicating copy to clipboard operation
spirv_cross copied to clipboard

Simplify error handling

Open grovesNL opened this issue 6 years ago • 0 comments

Some functions (especially simple getter-like functions) could probably avoid returning a Result and simply return the type, because we don't actually expect exceptions to be thrown on the C++ side.

As well, reconsider ErrorCode. Perhaps a String is sufficient for these cases and we can avoid the enum altogether.

grovesNL avatar Feb 02 '18 03:02 grovesNL