From c9614d86c190b98bd8f0df9e17272387c3bad1d5 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 30 Mar 2019 14:45:36 -0400 Subject: Move //libdeno to //core/libdeno (#2015) Fixes some sed errors introduced in c43cfe. Unfortunately moving libdeno required splitting build.rs into two parts, one for cli and one for core. I've also removed the arm64 build - it's complicating things at this re-org and we're not even testing it. I need to swing back to it and get tools/test.py running for it. --- core/libdeno/exceptions.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 core/libdeno/exceptions.h (limited to 'core/libdeno/exceptions.h') diff --git a/core/libdeno/exceptions.h b/core/libdeno/exceptions.h new file mode 100644 index 000000000..e07ff183a --- /dev/null +++ b/core/libdeno/exceptions.h @@ -0,0 +1,23 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +#ifndef EXCEPTIONS_H_ +#define EXCEPTIONS_H_ + +#include +#include "third_party/v8/include/v8.h" + +namespace deno { + +v8::Local EncodeExceptionAsObject(v8::Local context, + v8::Local exception); + +std::string EncodeExceptionAsJSON(v8::Local context, + v8::Local exception); + +void HandleException(v8::Local context, + v8::Local exception); + +void HandleExceptionMessage(v8::Local context, + v8::Local message); +} // namespace deno + +#endif // EXCEPTIONS_H_ -- cgit v1.2.3