package nbd
Module Protocol.ErrorSource
Read and write requests can fail with an error response.
Source
type t = [ | `EPERM(*Operation not permitted
*)| `EIO(*Input/output error
*)| `ENOMEM(*Cannot allocate memory
*)| `EINVAL(*Invalid argument
*)| `ENOSPC(*No space left on device
*)| `Unknown of int32
]Defined error codes which can be returned in response to a request in the data-pushing phase.