Nitpick: the line-breaking in these error messages is a bit difficult to parse at a glance. My eye goes straight to that leading dot. For the sake of readability, I'd  break and force wrapping a word earlier in each of these.

Also, the style-guide-and-good-practices ship sailed out of the harbor long long before we all inherited this version of the driver, but I still try to fix things as I touch them. We should be using literals, single quoted strings when not interpolating values into your message.