Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

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

Merged
sofisl merged 4 commits into
mainfrom
changeCodeToStatus
Jul 12, 2023
Merged

fix!: add status as a number to GaxiosError, change code to error code as a string#552
sofisl merged 4 commits into
mainfrom
changeCodeToStatus

Conversation

@sofisl

@sofisl sofisl commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

@sofisl sofisl requested a review from a team 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
Comment thread src/common.ts Outdated
Comment thread src/common.ts Outdated
@sofisl sofisl requested a review from danielbankhead July 12, 2023 00:20

@danielbankhead danielbankhead left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/common.ts Outdated
Comment thread src/common.ts Outdated
Comment thread src/common.ts
Comment thread src/common.ts Outdated
Comment thread src/common.ts Outdated
@sofisl sofisl requested a review from danielbankhead July 12, 2023 19:05
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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