diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-10-12 11:22:52 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-12 14:22:52 -0400 |
commit | 45d3b8955de628db0ef051eeb8e351837b4a3b3e (patch) | |
tree | 252bab755760d86cab48502abdabe6ff0c2b9af2 /libdeno/deno.h | |
parent | c9f95d51da9f6075b1f28a842dc830ec5fe7a30e (diff) |
Fix promise reject issue (#936)
Diffstat (limited to 'libdeno/deno.h')
-rw-r--r-- | libdeno/deno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdeno/deno.h b/libdeno/deno.h index 5fad6a1c3..704045524 100644 --- a/libdeno/deno.h +++ b/libdeno/deno.h @@ -59,6 +59,8 @@ int deno_execute(Deno* d, void* user_data, const char* js_filename, // libdeno.recv() callback. Check deno_last_exception() for exception text. int deno_respond(Deno* d, void* user_data, int32_t req_id, deno_buf buf); +void deno_check_promise_errors(Deno* d); + const char* deno_last_exception(Deno* d); void deno_terminate_execution(Deno* d); |