New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting text representation of error #49
Comments
Hey, thanks for your question. We could implement a helper function which will return the text representation like http://php.net/manual/en/function.curl-strerror.php (https://curl.haxx.se/libcurl/c/curl_easy_strerror.html) based on https://curl.haxx.se/libcurl/c/libcurl-errors.html. While this library will not support localizations we will not implement custom text messages. We recommend to create a own helper which deliver you a error message based on the curl error code. In that way you could use localizations from third party libraries (in this case yii2 http://www.yiiframework.com/doc-2.0/guide-tutorial-i18n.html) |
@janki1 any feedback or suggestions? |
Hi,
I am sorry I was out of internet for long time, because I was ill.
For me it would be enough if I were available to extract text from basic
curl error based on https://curl.haxx.se/libcurl/c/libcurl-errors.html
translations are welcome but not always suitable, or anybody can translate
error message in our system.
S pozdravom
Ján Úskoba
Tel.: 0948 083 758
2017-01-30 12:43 GMT+01:00 Nils Gajsek <notifications@github.com>:
… @janki1 <https://github.com/janki1> any feedback or suggestions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACg5ybcNaY1XrDDQ7nYPBa3FgeDYcPCnks5rXczrgaJpZM4LsI09>
.
|
Accepted, we will release this feature in the coming version. |
Thanks a lot.
S pozdravom
Ján Úskoba
Tel.: 0948 083 758
2017-02-14 18:02 GMT+01:00 Nils Gajsek <notifications@github.com>:
… Accepted, we will release this feature in the coming version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACg5yQ5PAm5tkk-D-Z3rGSJ-mc4rFvfAks5rcd4bgaJpZM4LsI09>
.
|
|
Hi,
is any chance to get text representation of curl error not only error code ?
Like using curl_error function ?
Thanks for response.
The text was updated successfully, but these errors were encountered: