Module Mirage_net.Net

type error = [
  1. | `Invalid_length
  2. | `Disconnected
]

The type for IO operation errors

val pp_error : error Fmt.t

pp_error pretty-print network errors.