|
Converts send response to a human-readable error code.
Unit
EBase
Syntax
Code (Delphi)
|
function ErrorCodeToStr(
const AResponse: TResponse
): String;
|
Parameters
AResponse [in]
A response from sending.
Return value
A human-readable error code. For example, '42'.
Remarks
When sending fails, the response encodes a error code for the failure. This function can be used to convert encoded value into a human-readable string. The encoding is needed because different senders use different formats of error codes.
The function will return an empty string when if there is no error code. Please note that missing error code is not the same as successful send. Sending can fail, but do not provide an error code back. If you need to check if sending has failed - use if Failed(Ord(Response.SendResult)) then.
|
Send feedback...
|
Build date: 2026-06-30
Last edited: 2026-06-30
|
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation.
We do not use your e-mail address for any other purpose.
We will remove your e-mail address from our system after the issue you are reporting has been resolved.
While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback.
After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.
Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_function_EBase_ErrorCodeToStr
|
|