beam
beam copied to clipboard
Improved error for ColumnTypeMismatch
I was getting ColumnTypeMismatch errors and finding them to be pretty opaque if you don't know what column is causing the problem.
It turns out the Postgres error types have an errSQLField which is useful to expose in the error message.