This seems to be the exception returned by exchange.IO(), but this seems to be the exception returned by the inventor, without the error code. How can I capture this anomaly and make mistakes?This is what I try to write. The code in the template library is like this.I don't know if this timeout is a standard exception or what? can it be captured correctly, or is this a log error message directly in the run? Or is this an anomaly returned by IO? This phenomenon occurs once or twice a month and I don't know how to get it back. But when it comes, it's deadly, and my logic is straightforward, win or lose.
Inventors quantify - small dreamsHello, the interface returns null, which means that the call failed. If you want to get an error, you can use GetLastError.
Inventors quantify - small dreamstry/catch is used to capture program abnormalities, and interface error reports are business errors.
[Translated from Chinese]The interface returns not null, but time out, can't this be captured with try/catch?