Skip to content

Update docs for Twirp Errors - #368

Merged
wmatveyenko merged 3 commits into
mainfrom
error_docs_upadte
Sep 23, 2022
Merged

wmatveyenko merged 3 commits into
mainfrom
error_docs_upadte

Conversation

@marioizquierdo

Copy link
Copy Markdown
Contributor

Update docs for Twirp Errors:

  • Organize for better readability: Overview; Error codes; Server side; Client side; Metadata.
  • Update examples using new error constructors and idioms.
  • Show common error codes first, and include a link to see all other codes in the spec.
  • Improve links to source code on relevant examples.
  • Explain how vanilla (non-twirp) errors are wrapped as internal errors with more detail.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@wmatveyenko
wmatveyenko merged commit 3519a9a into main Sep 23, 2022
@wmatveyenko
wmatveyenko deleted the error_docs_upadte branch September 23, 2022 17:10
@wmatveyenko

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

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.

2 participants

⌂ 换网址