GT2/Ejectable/node_modules/react-native-reanimated/ios/native/REAIOSErrorHandler.h

21 lines
538 B
C++

#pragma once
#include "ErrorHandler.h"
#include "Scheduler.h"
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() {}
};
}