Quellcode durchsuchen

Fix default implementation method for new ErrorHandler

lganzzzo vor 2 Jahren
Ursprung
Commit
306a01c1e2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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!