curl_share_strerror()
function curl_share_strerror(int $error_code): string
Returns string describing the given error code.
Parameters:
$error_code(int)
Returns: string
Availability
- Compiled (AOT): supported through the compiler-injected curl prelude.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/curl/curl_share_strerror.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how curl_share_strerror is implemented in the compiler, see the internals page.