Skip to content

Conversation

@michaelkirk
Copy link
Member

@michaelkirk michaelkirk commented Jul 26, 2025

  • I agree to follow the project's code of conduct.
  • I added an entry to the project's change log file if knowledge of this change could be valuable to users.
    • Usually called CHANGES.md or CHANGELOG.md
    • Prefix changelog entries for breaking changes with "BREAKING: "

Mostly because "why not", but specifically so I can use it with thiserror #[from], e.g.

#[derive(Debug, Error, Clone, PartialEq)]
enum MyError {
    #[error("Polyline error: {0}")]
    Polyline(#[from] PolylineError)
    #[error("Foo error: {0}")]
    Foo(#[from] FooError)
}

@michaelkirk michaelkirk force-pushed the mkirk/clonable-errors branch from 80b2418 to d0d5c30 Compare July 26, 2025 00:02
@frewsxcv frewsxcv added this pull request to the merge queue Jul 26, 2025
Merged via the queue into main with commit 7fc654d Jul 26, 2025
1 check passed
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.

4 participants