package frenetic

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

module HelloFailed : sig ... end
module BadRequest : sig ... end
module BadAction : sig ... end
module FlowModFailed : sig ... end
module PortModFailed : sig ... end
module QueueOpFailed : sig ... end
type 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)

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

to_string v pretty-prints v.

OCaml

Innovation. Community. Security.