path-size-0.1: Utility for reporting file-system sizes.
Safe HaskellNone
LanguageGHC2021

PathSize.Exception

Description

Provides exception types/functions for usage with path-size.

Since: 0.1

Synopsis

Documentation

data PathE Source #

Exception for a path. The second param is the reason i.e. the exceptions' displayException. The reason we convert to a string rather than leave it as an exception is so we can have an NFData instance for benchmarking.

Since: 0.1

Constructors

MkPathE !OsPath !String 

Instances

Instances details
Exception PathE Source #

Since: 0.1

Instance details

Defined in PathSize.Exception

Generic PathE Source # 
Instance details

Defined in PathSize.Exception

Associated Types

type Rep PathE

Since: path-size-0.1

Instance details

Defined in PathSize.Exception

Methods

from :: PathE -> Rep PathE x #

to :: Rep PathE x -> PathE #

Show PathE Source #

Since: 0.1

Instance details

Defined in PathSize.Exception

Methods

showsPrec :: Int -> PathE -> ShowS #

show :: PathE -> String #

showList :: [PathE] -> ShowS #

NFData PathE Source #

Since: 0.1

Instance details

Defined in PathSize.Exception

Methods

rnf :: PathE -> () #

Eq PathE Source #

Since: 0.1

Instance details

Defined in PathSize.Exception

Methods

(==) :: PathE -> PathE -> Bool #

(/=) :: PathE -> PathE -> Bool #

Ord PathE Source #

Since: 0.1

Instance details

Defined in PathSize.Exception

Methods

compare :: PathE -> PathE -> Ordering #

(<) :: PathE -> PathE -> Bool #

(<=) :: PathE -> PathE -> Bool #

(>) :: PathE -> PathE -> Bool #

(>=) :: PathE -> PathE -> Bool #

max :: PathE -> PathE -> PathE #

min :: PathE -> PathE -> PathE #

type Rep PathE Source #

Since: 0.1

Instance details

Defined in PathSize.Exception