𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬

Using anyhow to handle errors in my Rust changelog builder


Listen Later

Let's fix our messy error handling in our Rust towncrier clone by using the

anyhow library and adding context() calls to describe what went wrong. Can
we match the output of towncrier in different circumstances? Do we actually
want to match it exactly, or can we do better?

You can find the code at https://codeberg.org/andybalaam/changelog-builder

Read my blog at https://artificialworlds.net/blog

Follow me on mastodon: @[email protected]

...more
View all episodesView all episodes
Download on the App Store

𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬By