antisplice-0.17.1.1: An engine for text-based dungeons.

Safe HaskellSafe
LanguageHaskell2010

Game.Antisplice.Errors

Description

Provides the error datatype for Antisplice

Synopsis

Documentation

data SplErr Source

Antisplice errors

Constructors

UnknownError 
QuitError

Triggers program termination

DoneError

Escape the waiter loop

UnintellegibleError

"I don't understand that."

VerbMustFirstError

"Please start with a verb."

CantSeeOneError

"I can't see one here."

DontCarryOneError

"You don't carry one."

WhichOneError

"Which one do you mean?"

CantEquipThatError

"I can't equip that."

CantEquipThatThereError

"I can't wear that there. You might want to try some other place?"

WhereToEquipError

"Where?"

CantCastThatNowError

"Sorry, I can't cast that now. Check you health, mana and cooldowns."

CantWalkThereError

"I can't walk there."

CantAcquireThatError

"I can't take that."

WontHitThatError

"I won't hit that."

WrongMethodError

"Wrong method for creating that."

ReError ReError

To embed ReErrors

type SplErrT m = FailT SplErr m Source

Alias for FailT SplErr