newsmemory-ios-sdk/Frameworks/RNReanimated.xcframework/ios-arm64/Headers/REAIOSErrorHandler.h

22 lines
580 B
C
Raw Normal View History

2024-10-29 07:36:43 +00:00
#import <RNReanimated/ErrorHandler.h>
#import <RNReanimated/Scheduler.h>
#include <memory>
#include <string>
namespace reanimated {
class REAIOSErrorHandler : public ErrorHandler {
std::shared_ptr<Scheduler> scheduler;
void raiseSpec() override;
std::shared_ptr<ErrorWrapper> error;
public:
REAIOSErrorHandler(std::shared_ptr<Scheduler> scheduler);
std::shared_ptr<Scheduler> getScheduler() override;
std::shared_ptr<ErrorWrapper> getError() override;
void setError(std::string message) override;
virtual ~REAIOSErrorHandler() {}
};
} // namespace reanimated