better error messages

2 jobs for ci/error_improvements in 16 minutes and 11 seconds (queued for 4 seconds)