Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Enumerations | Functions
dart_error.h File Reference
#include "third_party/dart/runtime/include/dart_api.h"
#include "tonic/dart_persistent_value.h"

Go to the source code of this file.

Namespaces

namespace  tonic
 
namespace  tonic::DartError
 

Typedefs

using tonic::DartError::UnhandledExceptionReporter = void(*)(Dart_Handle, Dart_Handle)
 

Enumerations

enum  tonic::DartErrorHandleType { tonic::kNoError , tonic::kUnknownErrorType , tonic::kApiErrorType , tonic::kCompilationErrorType }
 

Functions

bool tonic::CheckAndHandleError (Dart_Handle handle)
 
void tonic::SetUnhandledExceptionReporter (DartError::UnhandledExceptionReporter reporter)
 
DartErrorHandleType tonic::GetErrorHandleType (Dart_Handle handle)
 
int tonic::GetErrorExitCode (Dart_Handle handle)