hakyll-4.16.2.0: A static website compiler library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hakyll.Core.Provider.Metadata

Description

Internal module to parse metadata

Synopsis

Documentation

loadMetadata :: Provider -> Identifier -> IO (Metadata, Maybe String) Source #

parsePage :: String -> Either ParseException (Metadata, String) Source #

data MetadataException Source #

Thrown in the IO monad if things go wrong. Provides a nice-ish error message.

Constructors

MetadataException FilePath ParseException 

Instances

Instances details
Exception MetadataException Source # 
Instance details

Defined in Hakyll.Core.Provider.Metadata

Methods

toException :: MetadataException -> SomeException

fromException :: SomeException -> Maybe MetadataException

displayException :: MetadataException -> String

Show MetadataException Source # 
Instance details

Defined in Hakyll.Core.Provider.Metadata

Methods

showsPrec :: Int -> MetadataException -> ShowS

show :: MetadataException -> String

showList :: [MetadataException] -> ShowS