Class StateMachineCancelException

Inheritance Relationships

Base Type

  • public std::runtime_error

Class Documentation

class StateMachineCancelException : public std::runtime_error

Exception thrown when a state machine is canceled as a whole.

This exception is used internally to abort the current execution loop after cancel_state_machine() has been requested. It can also be observed by callers that execute the state machine directly.

Public Functions

inline explicit StateMachineCancelException(const std::string &state_machine_name)

Construct a new cancellation exception.

Parameters:

state_machine_name – Human-readable state machine name.