package eio

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Net.Getaddrinfo_errorSource

Error codes returned by getaddrinfo(3)

Sourcetype t =
  1. | UNKNOWN
  2. | ADDRFAMILY
  3. | AGAIN
  4. | BADFLAGS
  5. | BADHINTS
  6. | FAIL
  7. | FAMILY
  8. | MEMORY
  9. | NODATA
  10. | NONAME
  11. | OVERFLOW
  12. | PROTOCOL
  13. | SERVICE
  14. | SOCKTYPE
Sourceval to_tag : t -> string

to_tag t is the constructor name. e.g. to_tag NONAME = "NONAME".

Sourceval to_message : t -> string

to_message t returns a string representation of t, like gai_strerror(3).