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: make error clonable #563

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nathanosdev
Copy link
Member

@nathanosdev nathanosdev commented May 31, 2024

Description

This makes ic_agent::Error clonable, which makes it easier for downstream clients to also make their Error types cloneable.

It's also possible to workaround by using Arc<T> in downstream clients.

I've made a related PR for Candid.

I'm currently referencing Candid by git in Cargo.toml, but of course I'll remove that if the corresponding change is agreed upon and merged in Candid.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

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.

1 participant