A simple class thrown by jss::actor::self()
and jss::actor::receive()
if they are called from a thread
that is not running an actor.
namespace jss { class no_actor: public std::runtime_error {}; }
#include <jss/actor.hpp>
Exceptions of this type are thrown if an actor function is called from a thread that is not running an actor.
jss::actor
class
jss::actor::self()
static member function
jss::actor::receive()
static member function