// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gin/try_catch.h" #include <sstream> #include "gin/converter.h" #include "v8/include/v8-message.h" namespace { v8::Local<v8::String> GetSourceLine(v8::Isolate* isolate, v8::Local<v8::Message> message) { … } } // namespace namespace gin { TryCatch::TryCatch(v8::Isolate* isolate) : … { … } TryCatch::~TryCatch() = default; bool TryCatch::HasCaught() { … } std::string TryCatch::GetStackTrace() { … } } // namespace gin