How to detect specific (timeout) errors for THTTPReqResp SOAP requests?
问题 In Delphi Tokyo 10.2.x a ESOAPHTTPException was an Exception descendant with a StatusCode property set in the creator: ESOAPHTTPException = class(Exception) private FStatusCode: Integer; public {$IF CompilerVersion <= 15.0} constructor Create(const Msg: string; SCode: Integer = 0); {$ELSE} constructor Create(const Msg: string; SCode: Integer = 0; Dummy: Integer = 0); {$IFEND} constructor CreateFmt(const Msg: string; const Args: array of const; SCode: Integer = 0; Dummy: Integer = 0); property