I think the standard convention if you just want a stringly-typed error like Go is anyhow?
And maybe not quite as standard, but thiserror if you don’t want a stringly-typed error?