| License | BSD-3-Clause |
|---|---|
| Safe Haskell | None |
| Language | GHC2024 |
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 #
Type representing SQL database connections to the project database for caches. This provides a bit of type safety to ensure we're talking to the right database.
Constructors
| ProjectStorage | |
Fields | |
newtype UserStorage Source #
Type representing SQL database connections to the user database. This provides a bit of type safety to ensure we're talking to the right database.
Constructors
| UserStorage | |
Fields | |