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

Rusoto Error Mismatch #6

Open
jamesh48 opened this issue Jul 11, 2022 · 0 comments
Open

Rusoto Error Mismatch #6

jamesh48 opened this issue Jul 11, 2022 · 0 comments

Comments

@jamesh48
Copy link

Hello I'm having an type issue with Rusoto Error handling in the send function, and specifically the map_err and try_for_each calls.

it says that it expects, for example in map_err...
expected signature of fn(rusoto_core::error::RusotoError<dynomite::rusoto_dynamodb::ScanError>) -> _

while it is finding...
found signature of fn(rusoto_core::RusotoError<dynomite::rusoto_dynamodb::ScanError>) -> _

I'm newer to rust, but trying to access rusoto_core::error says that its a private module- maybe this is a versioning problem? I'm also using the lambda_runtime package (^0.5.1) instead of the lambda package in your cargo.toml, but I don't see how this would affect the particular issue i'm having- I believe this is the only dependency I changed. I have the connection lambda working this way. I really appreciate that you are handling for errors here, and would appreciate a resolution if you could help me out.

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

No branches or pull requests

1 participant