Designing type inference for high quality type errors | Hugonweb Annotated Link Bibliography
https://blog.polybdenum.com/2025/02/14/designing-type-inference-for-high-quality-type-errors.html
A bunch of things to note in designing a type system to make error messages better. I think the examples of bad error messages in languages being due to the type system (C++!) are broadly interesting.