package ppx_factory

  1. Overview
  2. Docs

Functions to raise errors specific to [@@deriving default]

val errorf : loc:Ppxlib.Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> 'a

Raise an error with the formatted message prefixed by "ppx_factory.default: "

OCaml

Innovation. Community. Security.