libcaf  0.13.2
Functions | Variables
caf::exit_reason Namespace Reference

Contains all predefined exit reasons. More...

Functions

const char * as_string (uint32_t value)
 Returns a string representation of given exit reason.
 

Variables

static constexpr uint32_t not_exited = 0x00000
 Indicates that the actor is still alive.
 
static constexpr uint32_t normal = 0x00001
 Indicates that an actor finished execution.
 
static constexpr uint32_t unhandled_exception = 0x00002
 Indicates that an actor finished execution because of an unhandled exception.
 
static constexpr uint32_t unhandled_sync_failure = 0x00004
 Indicates that the actor received an unexpected synchronous reply message.
 
static constexpr uint32_t unknown = 0x00006
 Indicates that the exit reason for this actor is unknown, i.e., the actor has been terminated and no longer exists. More...
 
static constexpr uint32_t out_of_workers = 0x00007
 Indicates that an actor pool unexpectedly ran out of workers.
 
static constexpr uint32_t user_shutdown = 0x00010
 Indicates that the actor was forced to shutdown by a user-generated event.
 
static constexpr uint32_t kill = 0x00011
 Indicates that the actor was killed unconditionally.
 
static constexpr uint32_t remote_link_unreachable = 0x00101
 Indicates that an actor finishied execution because a connection to a remote link was closed unexpectedly. More...
 
static constexpr uint32_t user_defined = 0x10000
 Any user defined exit reason should have a value greater or equal to prevent collisions with default defined exit reasons. More...
 

Detailed Description

Contains all predefined exit reasons.

Variable Documentation

constexpr uint32_t caf::exit_reason::remote_link_unreachable = 0x00101
static

Indicates that an actor finishied execution because a connection to a remote link was closed unexpectedly.

constexpr uint32_t caf::exit_reason::unknown = 0x00006
static

Indicates that the exit reason for this actor is unknown, i.e., the actor has been terminated and no longer exists.

constexpr uint32_t caf::exit_reason::user_defined = 0x10000
static

Any user defined exit reason should have a value greater or equal to prevent collisions with default defined exit reasons.