mempack-0.1.1.0: Short description
Copyright(c) Alexey Kuleshevich 2024
LicenseBSD3
MaintainerAlexey Kuleshevich <alexey@kuleshevi.ch>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.MemPack.Error

Description

 
Synopsis

Documentation

data SomeError where Source #

Constructors

SomeError :: (Typeable e, Error e) => e -> SomeError 

class Show e => Error e where Source #

Very similar interface to Exceptions, except not intended for runtime exceptions.

Minimal complete definition

Nothing

newtype TextError Source #

Constructors

TextError Text 

Instances

Instances details
IsString TextError Source # 
Instance details

Defined in Data.MemPack.Error

Show TextError Source # 
Instance details

Defined in Data.MemPack.Error

Eq TextError Source # 
Instance details

Defined in Data.MemPack.Error

Error TextError Source # 
Instance details

Defined in Data.MemPack.Error

newtype ManyErrors Source #

Constructors

ManyErrors (NonEmpty SomeError) 

Instances

Instances details
Show ManyErrors Source # 
Instance details

Defined in Data.MemPack.Error

Error ManyErrors Source # 
Instance details

Defined in Data.MemPack.Error