Skip to content

Conversation

@mrbandler
Copy link
Owner

Description

To streamline error management a new crate that just holds error definitions has been added. This centralizes the error definitions, making it easier for linked error descriptions later.
It also moved common code to a shared crate. Currently there is only one extension trait present.

In addition to the above, all existing code comments have been revised.

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📚 Documentation (changes to documentation only)
  • 🔧 Refactor (code changes that neither fix a bug nor add a feature)
  • 🧪 Tests (adding or updating tests)
  • 🏗️ CI/Build (changes to CI configuration or build process)

Changes Made

  • Add flow-errors crate
  • Add flow-common crate
  • Revised existing code documentation

Testing

  • I have run cargo test --workspace --all-features

This makes it easier to link to errors and their explenations via
miette. It also allows to share errors between crates.
Factored out the existing Path extension trait.
@mrbandler mrbandler self-assigned this Jan 22, 2026
@mrbandler mrbandler merged commit 97907e2 into main Jan 22, 2026
8 checks passed
@mrbandler mrbandler deleted the refactor/errors-and-utils branch January 22, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants