Преглед на файлове

Fix default implementation method for new ErrorHandler

lganzzzo преди 2 години
родител
ревизия
306a01c1e2
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/oatpp/web/server/handler/ErrorHandler.hpp

+ 2 - 2
src/oatpp/web/server/handler/ErrorHandler.hpp

@@ -46,12 +46,12 @@ public:
    * */
   virtual ~ErrorHandler() = default;
 
-   /**
+  /**
    * Implement this method!
    * @param error - &std::exception;.
    * @return - std::shared_ptr to &id:oatpp::web::protocol::http::outgoing::Response;.
    */
-  virtual std::shared_ptr<protocol::http::outgoing::Response> handleError(const std::exception_ptr& exceptionPtr) = 0;
+  virtual std::shared_ptr<protocol::http::outgoing::Response> handleError(const std::exception_ptr& exceptionPtr);
 
   /**
    * Implement this method!