@@ -446,11 +446,12 @@ catchExit act exitHandler = catch act handleExit
446446 -- bytestrings if the caller doesn't use the value immediately
447447 !decoded = decode (messageEncoding msg)
448448
449−-- | As 'Control.Exception.catches' but allows for multiple handlers. Because
450−-- 'ProcessExitException' stores the exit @reason@ as a typed, encoded message,
451−-- a handler must accept an input of the expected type. In order to handle
452−-- a list of potentially different handlers (and therefore input types), a
453−-- handler passed to 'catchesExit' must accept 'AbstractMessage' and return
449+-- | Lift 'Control.Exception.catches' (almost).
450+--
451+-- As 'ProcessExitException' stores the exit @reason@ as a typed, encoded
452+-- message, a handler must accept an input of the expected type. In order to
453+-- handle a list of potentially different handlers (and therefore input types),
454+-- a handler passed to 'catchesExit' must accept 'AbstractMessage' and return
454455-- @Maybe@ (i.e., @Just p@ if it handled the exit reason, otherwise @Nothing@).
455456--
456457-- See 'maybeHandleMessage' and 'AsbtractMessage' for more details.