graphviz-2999.20.0.4: Bindings to Graphviz for graph visualisation.
Copyright(c) Ivan Lazar Miljenovic
License3-Clause BSD-style
MaintainerIvan.Miljenovic@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Data.GraphViz.Exception

Description

 
Synopsis

Documentation

data GraphvizException Source #

Exceptions that arise from using this library fall into four categories:

  • Unable to parse provided Dot code.
  • Dot code is not valid UTF-8.
  • An error when trying to run an external program (e.g. dot).
  • Treating a non-custom Attribute as a custom one.

Constructors

NotDotCode String 
NotUTF8Dot String 
GVProgramExc String 
NotCustomAttr String 

Re-exported for convenience.

mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> a #

throw :: forall (r :: RuntimeRep) (a :: TYPE r) e. Exception e => e -> a #

handle :: Exception e => (e -> IO a) -> IO a -> IO a #

bracket :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c #