/** * * HttpBinder.h * Martin Chang * * Copyright 2021, Martin Chang. All rights reserved. * https://github.com/an-tao/drogon * Use of this source code is governed by a MIT license * that can be found in the License file. * * Drogon * */ #include #include namespace drogon { namespace internal { void handleException(const std::exception &e, const HttpRequestPtr &req, std::function &&callback) { app().getExceptionHandler()(e, req, std::move(callback)); } } // namespace internal } // namespace drogon