bishbosh-0.1.4.0: Plays chess.
Safe HaskellSafe-Inferred
LanguageHaskell2010

BishBosh.Data.Exception

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Exceptions used by this application.
  • CAVEAT: though intended to be orthogonal, there's some inevitable overlap.
Synopsis

Types

Data-types

data BadData Source #

This sum-type of exceptions may be thrown by any function which checks its parameters; typically either constructors or mutators.

Instances

Instances details
Show BadData Source # 
Instance details

Defined in BishBosh.Data.Exception

data BadRequest Source #

This sum-type of exceptions may be thrown by any function which is unable to comply with a correctly formed request.

Instances

Instances details
Show BadRequest Source # 
Instance details

Defined in BishBosh.Data.Exception

data Exception Source #

Each exception includes both a type & arbitrary details.

Functions

Constructors

mkNullDatum :: String -> Exception Source #

Constructor.

Predicates

isBadData :: Exception -> Bool Source #

Predicate.