Skip to content

libcURL.FormatURLError

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

libcURL.FormatURLError

Method Signature

 Protected Function FormatURLError(cURLURLError As Integer, Encoding As TextEncoding = Nil) As String

Parameters

Name Type Comment
cURLURLError 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 cURLURLError.

Remarks

Pass a libcURL URL parser 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