package ppx_fail

  1. Overview
  2. Docs
Add location to calls to failwiths

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fail-v0.12.0.tar.gz
sha256=71b30bb98bc96ba64dc8dee0860442e8e74b52bc180797c7e011ee3e31241d68
md5=281876493989812869c8c80e7dd92b48

Description

Part of the Jane Street's PPX rewriters collection.

Published: 01 Mar 2019

README

ppx_fail

Syntax extension that makes [failwiths] always include a position.

Rewrites failwiths into failwiths ~here:[%here]. This is useful to have a position for an exception even if the backtrace got lost somehow.

Dependencies (5)

  1. ppxlib >= "0.5.0" & < "0.9.0"
  2. dune >= "1.5.1"
  3. ppx_here >= "v0.12" & < "v0.13"
  4. base >= "v0.12" & < "v0.13"
  5. ocaml >= "4.04.2"

Dev Dependencies

None

Used by (1)

  1. ppx_jane = "v0.12.0"

Conflicts

None

OCaml

Innovation. Community. Security.