package frenetic

  1. Overview
  2. Docs
The Frenetic Programming Language and Runtime System

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.5.tar.gz
md5=baf754df13a759c32f2c86a1b6f328da
sha512=80140900e7009ccab14b25e244fe7edab87d858676f8a4b3799b4fea16825013cf68363fe5faec71dd54ba825bb4ea2f812c2c666390948ab217ffa75d9cbd29

doc/frenetic.kernel/Frenetic_kernel/OpenFlow0x01/Error/index.html

Module OpenFlow0x01.ErrorSource

An error message. See Section 5.4.4 of the OpenFlow 1.0 specification.

Sourcemodule HelloFailed : sig ... end
Sourcemodule BadRequest : sig ... end
Sourcemodule BadAction : sig ... end
Sourcemodule FlowModFailed : sig ... end
Sourcemodule PortModFailed : sig ... end
Sourcemodule QueueOpFailed : sig ... end
Sourcetype c =
  1. | HelloFailed of HelloFailed.t
  2. | BadRequest of BadRequest.t
  3. | BadAction of BadAction.t
  4. | FlowModFailed of FlowModFailed.t
  5. | PortModFailed of PortModFailed.t
  6. | QueueOpFailed of QueueOpFailed.t

Each error is composed of a pair (error_code, data)

Sourceval sexp_of_c : c -> Ppx_sexp_conv_lib.Sexp.t
Sourceval c_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> c
Sourcetype t =
  1. | Error of c * Cstruct.t
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0__.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0__.Sexp.t
Sourceval to_string : t -> string

to_string v pretty-prints v.

OCaml

Innovation. Community. Security.