The resource loading... loading...

Ask how to capture time out anomalies

Author: [Translated from Chinese], Created: 2022-03-02 18:05:25, Updated:

请问如何捕捉time out异常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?请问如何捕捉time out异常This is what I try to write. The code in the template library is like this.请问如何捕捉time out异常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.


More

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?