Std.ExitReason

View source →

Typed reasons understood by Cure's safe process APIs. Because is the deliberate raw-atom escape hatch for application- and OTP-specific reasons; callers do not need to abandon the typed API to use one.

Types

  • type ExitReason = Normal | Kill | Shutdown | Because

Functions

  • # fn from_atom(reason: Atom) -> ExitReason
  • # fn to_atom(reason: ExitReason) -> Atom