charon-0.1: Template
Safe HaskellSafe-Inferred
LanguageGHC2021

Charon.Exception

Description

Provides exceptions used by Charon.

Synopsis

Trash

Entries

General

newtype TrashEntryNotFoundE Source #

Generic trash path not found error. Distinct from TrashEntryFileNotFoundE in that the latter indicates that the entry exists in trash/info but not trash/files, whereas this exception is less specific i.e. we found nothing in trash/info but did not look in trash/files.

Partial success

Misc

data RootE Source #

Exception for deleting the root.

Constructors

MkRootE 

Instances

Instances details
Exception RootE Source # 
Instance details

Defined in Charon.Exception

Show RootE Source # 
Instance details

Defined in Charon.Exception

Methods

showsPrec :: Int -> RootE -> ShowS #

show :: RootE -> String #

showList :: [RootE] -> ShowS #

data EmptyPathE Source #

Exception for deleting an empty path.

Constructors

MkEmptyPathE 

newtype DotsPathE Source #

Exception for deleting the special dots paths.

newtype FileNameEmptyE Source #

Exception for deriving an empty file name.