Net.Getaddrinfo_error
Error codes returned by getaddrinfo(3)
type t =
| UNKNOWN
| ADDRFAMILY
| AGAIN
| BADFLAGS
| BADHINTS
| FAIL
| FAMILY
| MEMORY
| NODATA
| NONAME
| OVERFLOW
| PROTOCOL
| SERVICE
| SOCKTYPE
val to_tag : t -> string
to_tag t is the constructor name. e.g. to_tag NONAME = "NONAME".
to_tag t
to_tag NONAME = "NONAME"
val to_message : t -> string
to_message t returns a string representation of t, like gai_strerror(3).
to_message t
t