package ssl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private {
  1. code : int;
  2. lib : string option;
  3. reason : string option;
}
val get_error : unit -> t

Retrieve the earliest error from the error queue then it removes the entry. Returns the code and library and reason strings

val peek_error : unit -> t

Retrieve the earliest error from the error queue without modifying it. Returns the code and library and reason strings

val peek_last_error : unit -> t

Retrieves the latest error code from the thread's error queue without modifying it. Returns the code and library and reason strings.

OCaml

Innovation. Community. Security.