The function TIF will currently execute throw 1 upon failure.
TIF
throw 1
It would be useful to make this behavior compile-time configurable for easier integration in projects with exceptions disabled.