errx is a tiny, modern JavaScript library for creating and working with application errors. It provides a streamlined way to define error hierarchies and add custom properties to error objects. errx promotes structured error handling by making it easy to create specific error types and attach relevant context, significantly improving debugging and error reporting. It's designed for both Node.js and browser environments.