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

fix!: add status as a number to GaxiosError, change code to error code as a string #552

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

sofisl
Copy link
Contributor

@sofisl sofisl commented Jul 11, 2023

@sofisl sofisl requested a review from a team as a code owner July 11, 2023 21:49
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jul 11, 2023
src/common.ts Outdated Show resolved Hide resolved
src/common.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@danielbankhead danielbankhead left a comment

Choose a reason for hiding this comment

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

Looks good, a few suggestions

src/common.ts Outdated Show resolved Hide resolved
src/common.ts Outdated Show resolved Hide resolved
src/common.ts Show resolved Hide resolved
src/common.ts Outdated Show resolved Hide resolved
src/common.ts Outdated Show resolved Hide resolved
@sofisl sofisl changed the title fix!: change code to number, and response status to string fix!: add status as GaxiosError property, change code to error code as a number Jul 12, 2023
@sofisl sofisl changed the title fix!: add status as GaxiosError property, change code to error code as a number fix!: add status as a number to GaxiosError, change code to error code as a string Jul 12, 2023
@sofisl sofisl merged commit 88ba2e9 into main Jul 12, 2023
@sofisl sofisl deleted the changeCodeToStatus branch July 12, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

err.code type changes from 'string' to 'number'.
2 participants