headroom-0.4.1.0: License Header Manager
Copyright(c) 2019-2021 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Types

Description

Module containing most of the data types used by the application.

Synopsis

Error Data Types

data HeadroomError Source #

Top-level of the Headroom exception hierarchy.

Constructors

forall e.Exception e => HeadroomError e 

Helper Functions

fromHeadroomError Source #

Arguments

:: Exception e 
=> SomeException

exception to unwrap

-> Maybe e

unwrapped exception

Unwraps given exception from HeadroomError.

toHeadroomError Source #

Arguments

:: Exception e 
=> e

exception to wrap

-> SomeException

wrapped exception

Wraps given exception into HeadroomError.

Other Data Types

newtype CurrentYear Source #

Wraps the value of current year.

Constructors

CurrentYear 

Fields