Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data StorageException Source #
Common exceptions that may be thrown by any storage.
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 | |
Show StorageException Source # | |
Defined in Yesod.Session.Storage.Exceptions showsPrec :: Int -> StorageException -> ShowS # show :: StorageException -> String # showList :: [StorageException] -> ShowS # | |
Eq StorageException Source # | |
Defined in Yesod.Session.Storage.Exceptions (==) :: StorageException -> StorageException -> Bool # (/=) :: StorageException -> StorageException -> Bool # |