Skip to content

libcURL.FormatError

Andrew Lambert edited this page Jul 8, 2015 · 16 revisions

#libcURL.FormatError

##Method Signature

 Protected Function FormatError(cURLErrorNumber As Integer, Encoding As TextEncoding = Nil) As String

##Return value Returns a human-readable message for the cURLErrorNumber.

##Parameters

Name Type Comment
cURLErrorNumber Integer The error number to format
Encoding TextEncoding Optional. If specified, the encoding that the message should be converted into.

##Notes Pass a libcURL 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