The error code UNKNOWN_ERROR appears frequently in our telemetry. We have a large amount of client exceptions going through the clientExceptionFromException method with an UNKNOWN_ERROR code, and there are also many places where ClientExceptions are being explicitly created with the code.
After looking at the telemetry and doing some code searches in our codebase, I added some more specific error codes which will be used in the common and broker libraries. Any suggestions on name changes are welcomed.
Summary
The error code
UNKNOWN_ERROR
appears frequently in our telemetry. We have a large amount of client exceptions going through theclientExceptionFromException
method with anUNKNOWN_ERROR
code, and there are also many places whereClientException
s are being explicitly created with the code. After looking at the telemetry and doing some code searches in our codebase, I added some more specific error codes which will be used in the common and broker libraries. Any suggestions on name changes are welcomed.Related PRs