Skip to content

feat: add ExtractProtoMessage to apierror#213

Merged
shollyman merged 15 commits intogoogleapis:mainfrom
shollyman:fr-extractcustom
Aug 4, 2022
Merged

feat: add ExtractProtoMessage to apierror#213
shollyman merged 15 commits intogoogleapis:mainfrom
shollyman:fr-extractcustom

Conversation

@shollyman
Copy link
Copy Markdown
Contributor

Fixes: #212

@shollyman shollyman requested review from a team and noahdietz July 21, 2022 21:12
Comment thread v2/apierror/apierror.go Outdated
Comment thread v2/apierror/apierror.go Outdated
Comment thread v2/apierror/apierror.go Outdated
Copy link
Copy Markdown
Contributor

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

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

looks great to me thanks for adjusting it.

Comment thread v2/apierror/internal/proto/custom_error.proto Outdated
Comment thread v2/go.mod Outdated
@noahdietz noahdietz requested a review from quartzmo August 3, 2022 23:32
@noahdietz
Copy link
Copy Markdown
Contributor

I'd like @quartzmo to review/Approve.

@shollyman shollyman changed the title feat: add ExtractMessage to apierror feat: add ExtractProtoMessage to apierror Aug 4, 2022
Comment thread v2/apierror/apierror.go Outdated
Copy link
Copy Markdown
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

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

Approved! (with optional nits)

Comment thread v2/apierror/internal/proto/custom_error.proto Outdated
Comment thread v2/apierror/internal/proto/custom_error.proto Outdated
@shollyman shollyman enabled auto-merge (squash) August 4, 2022 17:51
@shollyman shollyman merged commit a6ce70c into googleapis:main Aug 4, 2022
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

Successfully merging this pull request may close these issues.

apierror: simplify extraction of custom errors

3 participants