A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
boundary.cc File Reference

The actions library's exception boundary. More...

#include <memory>
#include <regex>
#include <string>
#include <utility>
#include <absl/status/status.h>
#include <absl/status/statusor.h>
#include <absl/strings/str_cat.h>
#include "a11/actions/action.h"
#include "a11/actions/internal/exception_guarded_handlers.h"
#include "a11/actions/internal/pattern.h"
#include "a11/concurrency/internal/exception_guard_future.h"
#include "a11/internal/exception_guard_impl.h"

Namespaces

namespace  a11
 
namespace  a11::actions
 
namespace  a11::actions::internal
 

Functions

absl::StatusOr< std::regex > a11::actions::internal::CompilePattern (const std::string &pattern)
 
ActionHandler a11::actions::internal::GuardHandler (ActionHandler handler)
 
SyncActionHandler a11::actions::internal::GuardSyncHandler (SyncActionHandler handler)
 
OnActionCancelled a11::actions::internal::GuardOnCancelled (OnActionCancelled callback)
 

Detailed Description

The actions library's exception boundary.

Compiled with exceptions (see the exception policy block in cpp/CMakeLists.txt). Nothing here but the wrappers; a11/exception_guard.h explains why they cannot live at the call sites.