Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Yesod.Session.Storage.Exceptions
Synopsis
- data StorageException
- = SessionAlreadyExists { }
- | SessionDoesNotExist { }
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 |
Fields | |
SessionDoesNotExist | Thrown when attempting to replace an existing session but no session with the same key exists |
Fields |
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 # |