-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
refactor(connector): [nmi] refactor nmi and handled variants errors #2463
Conversation
Just a question, why did cl-pr check formatting fail even after type |
Apologies @Cioraz , There was bug regarding check formatting ci check , fix has been made . Please update the branch to make workflow work . |
Err(error_stack::report!(errors::ConnectorError::NotSupported { | ||
message: utils::SELECTED_PAYMENT_METHOD.to_string(), | ||
connector: "nmi", | ||
})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Thanks for the PR, @Cioraz!
Type of Change
Description
Adds the error handles for all unhandled variants
Additional Changes
Motivation and Context
Wanted to contribute to open source
How did you test it?
Checklist
cargo +nightly fmt --all
cargo clippy