Closed rma-stripe closed 4 years ago
Based on the signalfx-python implementation[0][1], which always exposes a code and sometimes exposes a message/error type (if they are available).
[0] https://github.com/signalfx/signalfx-python/blob/cfbda55989bc0e7ff48be82f2510f378d97d30c6/signalfx/signalflow/ws.py#L311-L314 [1] https://github.com/signalfx/signalfx-python/blob/cfbda55989bc0e7ff48be82f2510f378d97d30c6/signalfx/signalflow/errors.py#L28-L35
Hey @keitwb, thoughts on this?
Thanks @keitwb, I pushed another commit doing exactly that. Are we ok to merge?
Thanks, @rma-stripe! Tag incoming, but got one other one to sneak in.
Based on the signalfx-python implementation[0][1], which always exposes a code and sometimes exposes a message/error type (if they are available).
[0] https://github.com/signalfx/signalfx-python/blob/cfbda55989bc0e7ff48be82f2510f378d97d30c6/signalfx/signalflow/ws.py#L311-L314 [1] https://github.com/signalfx/signalfx-python/blob/cfbda55989bc0e7ff48be82f2510f378d97d30c6/signalfx/signalflow/errors.py#L28-L35