Module Input.Config_status

Status codes returned when applying configuration settings.

type t = [
  1. | `Success
    (*

    Config applied successfully

    *)
  2. | `Unsupported
    (*

    Configuration not available on this device

    *)
  3. | `Invalid
    (*

    Invalid parameter range

    *)
]
val or_fail : t -> unit

set ... |> or_fail raises a suitable exception if the result is not `Success.