Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails on handleError #33

Open
JosefSommerauer opened this issue Jun 12, 2024 · 0 comments
Open

Docker build fails on handleError #33

JosefSommerauer opened this issue Jun 12, 2024 · 0 comments

Comments

@JosefSommerauer
Copy link

docker build -t example-crud --no-cache .
fails with following error message:

In file included from /service/src/ErrorHandler.cpp:2:
/service/src/ErrorHandler.hpp:22:3: error: 'std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> ErrorHandler::handleError(const Status&, const oatpp::String&, const oatpp::web::server::handler::ErrorHandler::Headers&)' marked 'override', but does not override
   22 |   handleError(const Status& status, const oatpp::String& message, const Headers& headers) override;
      |   ^~~~~~~~~~~
make[2]: *** [CMakeFiles/crud-lib.dir/build.make:90: CMakeFiles/crud-lib.dir/src/ErrorHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/crud-lib.dir/all] Error 2
make: *** [Makefile:101: all] Error 2
The command '/bin/sh -c make' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant