Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/react-native/ReactCommon/cxxreact/Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "MethodCall.h"
#include "NativeToJsBridge.h"
#include "RAMBundleRegistry.h"
#include "RecoverableError.h"
#include "TraceSection.h"

#include <folly/json.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#pragma once

#include <react/cxxstableapi/PrivateGuard.h>
#include <react/cxxstableapi/FrameworksGuard.h>

#include <exception>
#include <functional>
Expand Down
7 changes: 7 additions & 0 deletions scripts/cxx-api/api-snapshots/ReactAndroidFrameworksCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -6440,6 +6440,13 @@ struct facebook::react::ReadableType : public facebook::jni::JavaClass<facebook:
public static jni::alias_ref<facebook::react::ReadableType> getType(folly::dynamic::Type type);
}

struct facebook::react::RecoverableError : public std::exception {
public RecoverableError(const std::string& what_);
public virtual const char* what() const noexcept override;
template <typename E>
public static void runRethrowingAsRecoverable(std::function<void()> act);
}

struct facebook::react::Rect {
public bool containsPoint(facebook::react::Point point) noexcept;
public bool operator==(const facebook::react::Rect& rhs) const noexcept = default;
Expand Down
7 changes: 7 additions & 0 deletions scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -8475,6 +8475,13 @@ struct facebook::react::ReactNativeVersionType {
public std::string_view Prerelease;
}

struct facebook::react::RecoverableError : public std::exception {
public RecoverableError(const std::string& what_);
public virtual const char* what() const noexcept override;
template <typename E>
public static void runRethrowingAsRecoverable(std::function<void()> act);
}

struct facebook::react::Rect {
public bool containsPoint(facebook::react::Point point) noexcept;
public bool operator==(const facebook::react::Rect& rhs) const noexcept = default;
Expand Down
7 changes: 7 additions & 0 deletions scripts/cxx-api/api-snapshots/ReactCommonFrameworksCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -4621,6 +4621,13 @@ struct facebook::react::ReactNativeVersionType {
public std::string_view Prerelease;
}

struct facebook::react::RecoverableError : public std::exception {
public RecoverableError(const std::string& what_);
public virtual const char* what() const noexcept override;
template <typename E>
public static void runRethrowingAsRecoverable(std::function<void()> act);
}

struct facebook::react::Rect {
public Float getMaxX() const noexcept;
public Float getMaxY() const noexcept;
Expand Down
Loading