Skip to content

Commit

Permalink
Provide Miou.reraise
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Sep 23, 2024
1 parent 98b4ee0 commit 3399806
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/miou.mli
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,11 @@ module Computation = Miou_sync.Computation
module Queue = Miou_queue
module Backoff = Miou_backoff

external reraise : exn -> 'a = "%reraise"
(** [reraise exn] raises the exception [exn]. Unlike [raise exn], [reraise exn]
preserves the existing exception backtrace and even adds a "Re-raised at"
entry with the call location. *)

module Sequence : sig
type 'a t
type 'a node
Expand Down

0 comments on commit 3399806

Please sign in to comment.