Index: tonic/dart_error.h |
diff --git a/tonic/dart_error.h b/tonic/dart_error.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..52605ce9491a3554920acf0282af1dfb2de20274 |
--- /dev/null |
+++ b/tonic/dart_error.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SKY_ENGINE_TONIC_DART_ERROR_H_ |
+#define SKY_ENGINE_TONIC_DART_ERROR_H_ |
+ |
+#include "dart/runtime/include/dart_api.h" |
+ |
+namespace blink { |
+ |
+namespace DartError { |
+extern const char kInvalidArgument[]; |
+} // namespace DartError |
+ |
+bool LogIfError(Dart_Handle handle); |
+ |
+} // namespace blink |
+ |
+#endif // SKY_ENGINE_TONIC_DART_ERROR_H_ |
+ |