libcURL.FormatShareError - charonn0/RB-libcURL GitHub Wiki
libcURL.FormatShareError
Method Signature
Protected Function FormatShareError(cURLShareError As Integer, Encoding As TextEncoding = Nil) As String
Parameters
| Name | Type | Comment |
|---|---|---|
| cURLShareError | Integer | The error number to format |
| Encoding | TextEncoding | Optional. If specified, the encoding that the message should be converted into. |
Return value
Returns a human-readable message for the cURLShareError.
Remarks
Pass a libcURL share interface error number, returns the error message for that error number. If a TextEncoding is specified, the message is converted into that encoding; otherwise, the message is encoded using ASCII.
See also:
FormatErrorFormatMultiErrorcurl_share_strerrorin the libcURL documentation.