@@ -403,7 +403,8 @@ receiveWait ms = do
403 mProc <- liftIO $ dequeue queue Blocking (map unMatch ms)
403 mProc <- liftIO $ dequeue queue Blocking (map unMatch ms)
404 case mProc of
404 case mProc of
405 Just proc' -> proc'
405 Just proc' -> proc'
406− Nothing -> error "Well... That wasn't supposed to happen! o_O"
406+ Nothing -> die $ "System Invariant Violation: CQueue.hs returned `Nothing` "
407+ ++ "in the absence of a timeout value."
408-- | Like 'receiveWait' but with a timeout.
409-- | Like 'receiveWait' but with a timeout.