package frenetic

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

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.