spirv_cross
spirv_cross copied to clipboard
Simplify error handling
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.