According to the description of _get_shader_infolog and _get_program_infolog, you should be able to call _get_spirvblob and check if its return value is nullptr to find out whether there was a problem during compilation or linking.
However looking at the definition of _get_spirvblob, it looks like it can never return nullptr and will throw an exception instead (or an assertion failure in debug mode):
As far as I can tell, there's no way to actually check if an error has occurred at the moment, even _get_spirv_blobsize would cause an assertion failure.
According to the description of _get_shader_infolog and _get_program_infolog, you should be able to call _get_spirvblob and check if its return value is nullptr to find out whether there was a problem during compilation or linking. However looking at the definition of _get_spirvblob, it looks like it can never return nullptr and will throw an exception instead (or an assertion failure in debug mode):
As far as I can tell, there's no way to actually check if an error has occurred at the moment, even _get_spirv_blobsize would cause an assertion failure.