| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
System.XDG.Error
Synopsis
- data XDGError
- throwIOLeft :: Exception e => Either e a -> IO a
Documentation
The type of exceptions raised by this library.
Constructors
| FileNotFound (Path Abs File) | |
| NoReadableFile | |
| MissingEnv String | This exception is raised when an environment variable that should be defined is not. It is not raised when an optional environment variable is not defined. |
| InvalidPath FilePath | This exception is raised when an invalid file path or a relative path is found instead of a valid absolute path. |
Instances
| Exception XDGError Source # | |
Defined in System.XDG.Error Methods toException :: XDGError -> SomeException # fromException :: SomeException -> Maybe XDGError # displayException :: XDGError -> String # | |
| Show XDGError Source # | |
| Eq XDGError Source # | |