ccxws icon indicating copy to clipboard operation
ccxws copied to clipboard

Uniform error handling

Open bmancini55 opened this issue 4 years ago • 0 comments

With the inclusion of the error event there is now a mechanism for transmitting errors to the client. There are currently several gaps surrounding error handling.

  1. Clients do not uniformly send error payloads
  2. We do not have a clean mechanism for transmitting the underlying cause of the error. For example, if there was a REST request failure it would be nice to know that that was the cause. Or if the error was caused by invalid JSON parsing it would be nice to know that.
  3. It would be good to uniformly include metadata such as the market and/or the raw data that caused an exception.

bmancini55 avatar Sep 10 '19 20:09 bmancini55