Module Mavryk_base.P2p_rejection

type error_code
type t =
  1. | No_motive
  2. | Too_many_connections
  3. | Already_connected
  4. | Unknown_chain_name
  5. | Deprecated_distributed_db_version
  6. | Deprecated_p2p_version
  7. | 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 Mavryk_error_monad.Error_monad.error +=
  1. | Rejecting of {
    1. motive : t;
    }