You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/tasks/M5-routing-lifecycle/TASK-031.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@
8
8
Implement the 6-point error-propagation contract from §5.2 / DR-009 in the dispatch path so any uncaught exception lands at the configured `internal_error_handler` with documented behavior.
-[] On `std::exception`: log via `error_logger` (whatever callback the user wired), invoke `internal_error_handler` with `e.what()`, send the resulting response (default 500 if no handler set).
13
-
-[] On non-`std::exception`: same path but with message `"unknown exception"`.
14
-
-[] If `internal_error_handler` itself throws: log generically, send hardcoded 500 with empty body.
15
-
-[]`feature_unavailable` is a `std::runtime_error`; no special status mapping (just lands as a 500 like any other exception).
16
-
-[] Document the contract in `webserver.hpp` Doxygen comments (full README pass in M6).
-[x] On `std::exception`: log via `error_logger` (whatever callback the user wired), invoke `internal_error_handler` with `e.what()`, send the resulting response (default 500 if no handler set).
13
+
-[x] On non-`std::exception`: same path but with message `"unknown exception"`.
14
+
-[x] If `internal_error_handler` itself throws: log generically, send hardcoded 500 with empty body.
15
+
-[x]`feature_unavailable` is a `std::runtime_error`; no special status mapping (just lands as a 500 like any other exception).
16
+
-[x] Document the contract in `webserver.hpp` Doxygen comments (full README pass in M6).
17
17
18
18
**Dependencies:**
19
19
- Blocked by: TASK-027, TASK-030
@@ -29,4 +29,4 @@ Implement the 6-point error-propagation contract from §5.2 / DR-009 in the disp
0 commit comments