Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enable converting roadster::Error to sidekiq::Error #514

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

spencewenski
Copy link
Member

Add From impl to allow converting a roadster::Error into a sidekiq::Error. This makes writing worker code more ergonomic.

Closes #488

Add `From` impl to allow converting a `roadster::Error` into a
`sidekiq::Error`. This makes writing worker code more ergonomic.

Closes #488
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Project coverage is 40.50%. Comparing base (3f0296b) to head (44f0239).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/error/sidekiq.rs 0.00% 10 Missing ⚠️
Files with missing lines Coverage Δ
src/error/sidekiq.rs 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f0296b...44f0239. Read the comment docs.

@spencewenski spencewenski merged commit 4e91186 into main Nov 17, 2024
18 of 19 checks passed
@spencewenski spencewenski deleted the gh-488-roadster-err-to-sidekiq-err branch November 17, 2024 03:50
@github-actions github-actions bot mentioned this pull request Nov 17, 2024
spencewenski pushed a commit that referenced this pull request Nov 17, 2024
## 🤖 New release
* `roadster`: 0.6.19 -> 0.6.20 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.6.20](roadster-v0.6.19...roadster-v0.6.20)
- 2024-11-17

### Added

- Enable converting `roadster::Error` to `sidekiq::Error`
([#514](#514))

### Other

- Use `MockProvideRef<DatabaseConnection>` in an example test
([#513](#513))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Enable converting roadster error to sidekiq error
1 participant