package ssl
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=5c1c478b676c1e3a8187d4451cd455a0
sha512=32afe3029f523b4854a132ca3f70869f6a2d68e669e82e24bba35e54c8fae3468c6674190daa6d1526f643f22786e80f2f1e45442662679dcd7d3ac3cee609c0
doc/ssl/Ssl/Error/index.html
Module Ssl.ErrorSource
type t = private {library_number : int;(*Identifies the OpenSSL sub-library that generated this error. Library values are defined in https://github.com/openssl/openssl/blob/openssl-3.0.0/include/openssl/err.h.in#L72
*)reason_code : int;(*The reason code is the information about what went wrong.
*)lib : string option;(*The library name that generated the error.
*)reason : string option;(*The reason string for the error message.
*)
}The error code returned by ERR_get_error() consists of a library number, function code and reason code.
Each sub-library of OpenSSL has a unique library number; function and reason codes are unique within each sub-library. Note that different libraries may use the same value to signal different functions and reasons.
Retrieve the earliest error from the error queue then it removes the entry. Returns the code and library and reason strings
Retrieve the earliest error from the error queue without modifying it. Returns the code and library and reason strings