Skip to content

Commit fe52c14

Browse files
authored
feat(8): adding style guide on error codes (#245)
Since error codes can be succinct when describing gRPC and HTTP+JSON, we can just name them both in the AEPs.
1 parent eff5366 commit fe52c14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aep/general/0008/aep.md.j2

+4
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ subdirectory); this ensures that the link works both on the AEP site, when
231231
viewing the Markdown file on GitHub, using the local development server, or a
232232
branch.
233233

234+
### Error codes
235+
236+
When referencing a error code, the prose **should** use the format `{google.api.error_code} / {http_status_code}`. For example, `OK / 200`.
237+
234238
## Rationale
235239

236240
### Designing for a broad set of clients

0 commit comments

Comments
 (0)