Module Tezos_base.Data_encoding_wrapper

type Tezos_error_monad.Error_monad.error +=
| Encoding_error of Data_encoding.Binary.write_error
| Unexpected_size_of_encoded_value

Errors that can happen when using send.

type Tezos_error_monad.Error_monad.error +=
| Decoding_error of Data_encoding.Binary.read_error
| Unexpected_size_of_decoded_buffer

Error that can happen when using recv.