Module Frenetic_kernel.OpenFlow0x01.Error

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 =
| HelloFailed of HelloFailed.t
| BadRequest of BadRequest.t
| BadAction of BadAction.t
| FlowModFailed of FlowModFailed.t
| PortModFailed of PortModFailed.t
| QueueOpFailed of QueueOpFailed.t

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

include sig ... end
val c_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> c
val sexp_of_c : c ‑> Ppx_sexp_conv_lib.Sexp.t
type t =
| Error of c * Cstruct.t Core.sexp_opaque
include sig ... end
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> t
val sexp_of_t : t ‑> Ppx_sexp_conv_lib.Sexp.t
val to_string : t ‑> string

to_string v pretty-prints v.