bishbosh-0.0.0.3: Plays chess.

Safe HaskellSafe
LanguageHaskell2010

BishBosh.Data.Exception

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Exceptions customised for this application.
  • N.B.: IO-functions can merely forward any exceptions thrown by the underlying calls, so these exceptions are typically thrown from pure functions.
  • CAVEAT: though intended to be orthogonal, there's some inevitable overlap.

Synopsis

Types

Data-types

data BadData Source #

These types of exception may be thrown by any function which checks its parameters; typically either constructors or mutators.

Instances

data BadRequest Source #

These types of exception may be thrown by any function which is unable to comply with a correctly formed request.

Functions

Constructors

mkNullDatum :: String -> Exception Source #

Constructor.

Predicates

isBadData :: Exception -> Bool Source #

Predicate.