summaryrefslogtreecommitdiffstats
path: root/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'unwind.c')
-rw-r--r--unwind.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/unwind.c b/unwind.c
index f3a4df24..5d24e6ce 100644
--- a/unwind.c
+++ b/unwind.c
@@ -422,6 +422,13 @@ val uw_muffle_warning(val exc, struct args *args)
uw_throw(continue_s, nil);
}
+val uw_trace_error(val ctx, val exc, struct args *args)
+{
+ cons_bind (stream, prefix, ctx);
+ error_trace(exc, args_get_list(args), stream, prefix);
+ return nil;
+}
+
void uw_push_cont_copy(uw_frame_t *fr, mem_t *ptr,
void (*copy)(mem_t *ptr, int parent))
{