mirror of
https://github.com/Start9Labs/registry.git
synced 2026-04-01 20:44:15 +00:00
mass clean up of warnings, hints, errors
This commit is contained in:
@@ -3,11 +3,30 @@
|
||||
|
||||
module Lib.Error where
|
||||
|
||||
import Startlude
|
||||
import Startlude ( (.)
|
||||
, Eq
|
||||
, ExceptT
|
||||
, Exception
|
||||
, ExitCode
|
||||
, Show
|
||||
, Text
|
||||
, show
|
||||
)
|
||||
|
||||
import Data.String.Interpolate.IsString
|
||||
import Network.HTTP.Types
|
||||
import Yesod.Core
|
||||
( i )
|
||||
import Network.HTTP.Types ( Status
|
||||
, status400
|
||||
, status404
|
||||
, status500
|
||||
)
|
||||
import Yesod.Core ( (.=)
|
||||
, ToContent(..)
|
||||
, ToJSON(toJSON)
|
||||
, ToTypedContent(..)
|
||||
, Value(String)
|
||||
, object
|
||||
)
|
||||
|
||||
type S9ErrT m = ExceptT S9Error m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user