Ver código fonte

Fix default implementation method for new ErrorHandler

lganzzzo 2 anos atrás
pai
commit
306a01c1e2
1 arquivos alterados com 2 adições e 2 exclusões
  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;
   virtual ~ErrorHandler() = default;
 
 
-   /**
+  /**
    * Implement this method!
    * Implement this method!
    * @param error - &std::exception;.
    * @param error - &std::exception;.
    * @return - std::shared_ptr to &id:oatpp::web::protocol::http::outgoing::Response;.
    * @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!
    * Implement this method!