xdg-basedir-compliant-1.2.0: XDG Basedir
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.XDG.Error

Synopsis

Documentation

data XDGError Source #

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

Instances details
Exception XDGError Source # 
Instance details

Defined in System.XDG.Error

Show XDGError Source # 
Instance details

Defined in System.XDG.Error

Eq XDGError Source # 
Instance details

Defined in System.XDG.Error