Skip to content

Commit

Permalink
Merge pull request #46 from robur-coop/reraise
Browse files Browse the repository at this point in the history
Provide Miou.reraise
  • Loading branch information
dinosaure authored Sep 24, 2024
2 parents 98b4ee0 + 3399806 commit ed46445
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 ed46445

Please sign in to comment.