Fix purity of exceptions + enforce for dmd 2.064+