Pin error messages

Last commit is the relevant one.