blob: a3dd59ec8e3b55344a4c0a9878fe774e9ba87846 [file] [log] [blame]
// Copyright 2015 The Fuchsia 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 LIB_TONIC_DART_ERROR_H_
#define LIB_TONIC_DART_ERROR_H_
#include "dart/runtime/include/dart_api.h"
namespace tonic {
namespace DartError {
extern const char kInvalidArgument[];
extern const char kInvalidDartWrappable[];
} // namespace DartError
bool LogIfError(Dart_Handle handle);
} // namespace tonic
#endif // LIB_TONIC_DART_ERROR_H_