Don't rely on error messages that vary with locale.