https://issues.dlang.org/show_bug.cgi?id=24460 --- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> --- Scratch that. The problem is that you are not rethrowing the exception/error if you use a goto. --