Skip to content

libcURL.FormatShareError

Andrew Lambert edited this page Nov 26, 2022 · 9 revisions

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:

Clone this wiki locally