{-# options_haddock prune #-}

-- |Description: SystemProcessError, Internal
module Polysemy.Process.Data.SystemProcessError where

-- |Signal error for 'Polysemy.Process.SystemProcess'.
data SystemProcessError =
  -- |The process terminated.
  Terminated Text
  |
  NoPipes
  deriving stock (SystemProcessError -> SystemProcessError -> Bool
(SystemProcessError -> SystemProcessError -> Bool)
-> (SystemProcessError -> SystemProcessError -> Bool)
-> Eq SystemProcessError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SystemProcessError -> SystemProcessError -> Bool
$c/= :: SystemProcessError -> SystemProcessError -> Bool
== :: SystemProcessError -> SystemProcessError -> Bool
$c== :: SystemProcessError -> SystemProcessError -> Bool
Eq, Int -> SystemProcessError -> ShowS
[SystemProcessError] -> ShowS
SystemProcessError -> String
(Int -> SystemProcessError -> ShowS)
-> (SystemProcessError -> String)
-> ([SystemProcessError] -> ShowS)
-> Show SystemProcessError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SystemProcessError] -> ShowS
$cshowList :: [SystemProcessError] -> ShowS
show :: SystemProcessError -> String
$cshow :: SystemProcessError -> String
showsPrec :: Int -> SystemProcessError -> ShowS
$cshowsPrec :: Int -> SystemProcessError -> ShowS
Show)