changes appmgr calls to be conduit sources.

This commit is contained in:
Keagan McClelland
2021-09-27 10:07:00 -06:00
parent 857fcde913
commit 164089ff88
7 changed files with 135 additions and 85 deletions

View File

@@ -5,15 +5,15 @@ module Lib.Error where
import Startlude
import Data.String.Interpolate.IsString
import Network.HTTP.Types
import Yesod.Core
import Data.String.Interpolate.IsString
type S9ErrT m = ExceptT S9Error m
data S9Error =
PersistentE Text
| AppMgrE Text Int
| AppMgrE Text ExitCode
| NotFoundE Text
deriving (Show, Eq)