https://issues.dlang.org/show_bug.cgi?id=12429 --- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> --- The error is emitted from the glue layer, so as I understand it is impossible to "catch" using is(). --