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

remove legacy errors from azure_core #806

Merged
merged 5 commits into from
Jun 15, 2022
Merged

Conversation

ctaggart
Copy link
Contributor

@ctaggart ctaggart commented Jun 15, 2022

Finishes #771. This removes the legacy errors from core, built on thiserror.

}
if let Err(err) = result {
if let ErrorKind::HttpResponse { status, .. } = err.kind() {
return Ok(status != &404u16);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It exists if it doesn't 404 Not Found is how I read this.

@ctaggart ctaggart marked this pull request as ready for review June 15, 2022 15:23
@cataggar cataggar requested review from rylev, johnbatty and bmc-msft June 15, 2022 15:23
@cataggar cataggar added the Azure.Core The azure_core crate label Jun 15, 2022
@cataggar cataggar merged commit 0f6f015 into Azure:main Jun 15, 2022
@ctaggart ctaggart deleted the core-errors branch June 16, 2022 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants