|
YOrch 1.0.0
|


Go to the source code of this file.
Classes | |
| struct | yorch::catch_failure_task< Task > |
| Exception-catching adapter for tasks that rely on the default failure mapping. More... | |
| struct | yorch::catch_failure_with_policy_task< Task, Policy > |
| Exception-catching adapter for tasks with a user-supplied fallback policy. More... | |
Namespaces | |
| namespace | yorch |
Functions | |
| template<typename Task > | |
| constexpr auto | yorch::catch_as_failure (Task &&task) |
| Wraps a task so thrown exceptions become default failure results. | |
| template<typename Task , typename Policy > | |
| constexpr auto | yorch::catch_as_failure (Task &&task, Policy &&policy) |
| Wraps a task so thrown exceptions are routed to a user fallback policy. | |