Include a better error message for bad dialects
0.5.1