What's the wisdom behind "use `thiserror` for libraries and `anyhow` for applications\

113 points ouicestca11

I often see people recommending using thiserror for libraries and anyhow for applications. Is there a particular reason for that? What problems can happen if I just use anyhow for libraries?