Fixes Issue 6668 - Avoid throwing collateral exceptions in std.conv.to