| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Yesod.Session.Storage.Exceptions
Synopsis
Documentation
data StorageException Source #
Common exceptions that may be thrown by any storage.
Constructors
| SessionAlreadyExists | Thrown when attempting to insert a new session and another session with the same key already exists |
| SessionDoesNotExist | Thrown when attempting to replace an existing session but no session with the same key exists |
Instances
| Exception StorageException Source # | |
Defined in Yesod.Session.Storage.Exceptions Methods toException :: StorageException -> SomeException # | |
| Show StorageException Source # | |
Defined in Yesod.Session.Storage.Exceptions Methods showsPrec :: Int -> StorageException -> ShowS # show :: StorageException -> String # showList :: [StorageException] -> ShowS # | |
| Eq StorageException Source # | |
Defined in Yesod.Session.Storage.Exceptions Methods (==) :: StorageException -> StorageException -> Bool # (/=) :: StorageException -> StorageException -> Bool # | |