Skip to content

proto: Add LimitError as a structured error

John Cai requested to merge jc-limit-error-proto into master

When Gitaly enforces a limit, either due rate limiting or concurrency limiting, it needs to be able to return an error to its clients to provide context into why it failed so that clients can then inform its callers of why the call failed.

See !4469 (merged) for more context.

Changelog: added

Edited by John Cai

Merge request reports