Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Stack.Types.Storage
Description
Types used by Stack.Storage
modules.
Synopsis
- data StoragePrettyException = StorageMigrationFailure !Text !(Path Abs File) !SomeException
- newtype ProjectStorage = ProjectStorage {}
- newtype UserStorage = UserStorage {}
Documentation
data StoragePrettyException Source #
Type representing 'pretty' exceptions thrown by functions exported by
modules beginning Stack.Storage
.
Constructors
StorageMigrationFailure !Text !(Path Abs File) !SomeException |
Instances
Exception StoragePrettyException Source # | |
Defined in Stack.Types.Storage | |
Show StoragePrettyException Source # | |
Defined in Stack.Types.Storage Methods showsPrec :: Int -> StoragePrettyException -> ShowS # show :: StoragePrettyException -> String # showList :: [StoragePrettyException] -> ShowS # | |
Pretty StoragePrettyException Source # | |
Defined in Stack.Types.Storage Methods |
newtype ProjectStorage Source #
A bit of type safety to ensure we're talking to the right database.
Constructors
ProjectStorage | |
Fields |
newtype UserStorage Source #
A bit of type safety to ensure we're talking to the right database.
Constructors
UserStorage | |
Fields |