headroom-0.3.1.0: License Header Manager

Copyright(c) 2019-2020 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Types

Contents

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

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

data TemplateMeta Source #

Metadata parsed from raw template, specific for selected file type.

Instances
Eq TemplateMeta Source # 
Instance details

Defined in Headroom.Types

Show TemplateMeta Source # 
Instance details

Defined in Headroom.Types

data HaddockFieldOffsets Source #

Offsets for selected fields extracted from Haddock module header.

Constructors

HaddockFieldOffsets 

Fields

newtype CurrentYear Source #

Wraps the value of current year.

Constructors

CurrentYear 

Fields