text: #pragma once
  
  #include <memory>
  #include <string>
  #include "ErrorHandler.h"
  #include "Scheduler.h"
  
  namespace ABI44_0_0reanimated {
  
  class ABI44_0_0REAIOSErrorHandler : public ErrorHandler {
    std::shared_ptr<Scheduler> scheduler;
    void raiseSpec() override;
    std::shared_ptr<ErrorWrapper> error;
  
   public:
    ABI44_0_0REAIOSErrorHandler(std::shared_ptr<Scheduler> scheduler);
    std::shared_ptr<Scheduler> getScheduler() override;
    std::shared_ptr<ErrorWrapper> getError() override;
    void setError(std::string message) override;
    virtual ~ABI44_0_0REAIOSErrorHandler() {}
  };
  
  } // namespace reanimated
  