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

BishBosh.Data.Exception

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

Instances details
Show BadData Source # 
Instance details

Defined in BishBosh.Data.Exception

data BadRequest Source #

These types of exception 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 type of exception includes a type & a details.

Functions

Constructors

mkNullDatum :: String -> Exception Source #

Constructor.

Predicates

isBadData :: Exception -> Bool Source #

Predicate.