Chromium Code Reviews| Index: runtime/vm/dart_api_impl.h |
| =================================================================== |
| --- runtime/vm/dart_api_impl.h (revision 1469) |
| +++ runtime/vm/dart_api_impl.h (working copy) |
| @@ -37,6 +37,9 @@ |
| // Generates a handle used to designate an error return. |
| static Dart_Handle Error(const char* format, ...); |
| + // Generates an error handle from an unhandled exception. |
| + static Dart_Handle ErrorFromException(const Object& obj); |
| + |
| // Gets a handle to Null. |
| static Dart_Handle Null(); |