Skip to content
  • Koichi Sasada's avatar
    dca6752f
    Introduce Ractor::IsolationError · dca6752f
    Koichi Sasada authored
    Ractor has several restrictions to keep each ractor being isolated
    and some operation such as `CONST="foo"` in non-main ractor raises
    an exception. This kind of operation raises an error but there is
    confusion (some code raises RuntimeError and some code raises
    NameError).
    
    To make clear we introduce Ractor::IsolationError which is raised
    when the isolation between ractors is violated.
    dca6752f
    Introduce Ractor::IsolationError
    Koichi Sasada authored
    Ractor has several restrictions to keep each ractor being isolated
    and some operation such as `CONST="foo"` in non-main ractor raises
    an exception. This kind of operation raises an error but there is
    confusion (some code raises RuntimeError and some code raises
    NameError).
    
    To make clear we introduce Ractor::IsolationError which is raised
    when the isolation between ractors is violated.
Loading