File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ namespace router {
122122 * @param endpoint The endpoint to route
123123 * @param parameters The arguments to give to the callback
124124 * @return The result of the callback
125- * @throws std::out_of_range
125+ * @throws std::out_of_range If no matching route and no not_found handler is available
126126 */
127127 return_type route (std::string_view endpoint, arguments... parameters) const
128128 {
@@ -302,7 +302,7 @@ namespace router {
302302 * @param method The method to proxy to
303303 * @param parameters The arguments to give to the callback
304304 * @return The result of the callback
305- * @throws std::out_of_range
305+ * @throws std::out_of_range If no matching route or not_found handler is found
306306 */
307307 return_type route (std::string_view endpoint, decltype (first) method, arguments... parameters) const
308308 {
You can’t perform that action at this time.
0 commit comments