I like the original error message better. It's more verbose but devs can pretty much show it directly to users. What we have now is an error message for engineers, which we all know most engineers will not bother changing before showing to their users.