Before I reinvent the wheel here #rstats, is there an R package 📦 for creating ...

@milesmcbain@fosstodon.org

Before I reinvent the wheel here #rstats, is there an R package 📦 for creating errors with optional detailed explanations available, similar to Rust error codes?

I had implemented a first order approximation in my last job that also allowed datasets to be returned alongside the explanation.