#pragma once #include "ErrorHandler.h" #include "Scheduler.h" namespace reanimated { class REAIOSErrorHandler : public ErrorHandler { std::shared_ptr scheduler; void raiseSpec() override; std::shared_ptr error; public: REAIOSErrorHandler(std::shared_ptr scheduler); std::shared_ptr getScheduler() override; std::shared_ptr getError() override; void setError(std::string message) override; virtual ~REAIOSErrorHandler() {} }; }