package tcpip

  1. Overview
  2. Docs
type error =
  1. | Too_short
  2. | Unusable
  3. | Unknown_code of Cstruct.uint16
  4. | Bad_mac of string list
val string_of_error : error -> string
val pp_error : Format.formatter -> error -> unit
val of_cstruct : Cstruct.t -> (t, error) Pervasives.result
OCaml

Innovation. Community. Security.