uber / tchannel

network multiplexing and framing protocol for RPC
MIT License
1.15k stars 129 forks source link

Improve errors.js to be source of truth #1296

Closed Raynos closed 8 years ago

Raynos commented 8 years ago

I moved the classification of should retry logic into the errors.js file.

This will help teach other people what the consequences and meaning of code names are for the TChannel library in terms of retries & circuit breaking.

r: @kriskowal @rf

rf commented 8 years ago

cool and neat A++++

kriskowal commented 8 years ago

:100: