Module Tezos_base.P2p_rejection

type error_code
type t =
| No_motive
| Too_many_connections
| Already_connected
| Unknown_chain_name
| Deprecated_distributed_db_version
| Deprecated_p2p_version
| Unknown_motive of error_code
val pp : Stdlib.Format.formatter -> t -> unit
val pp_short : Stdlib.Format.formatter -> t -> unit
val encoding : t Data_encoding.t
type Tezos_error_monad.Error_monad.error +=
| Rejecting of {
motive : t;
}