calamity-commands-0.4.0.0: A library for declaring, parsing, and invoking text-input based commands
Safe HaskellNone
LanguageHaskell2010

CalamityCommands.Error

Description

Command errors

Documentation

data CommandError Source #

Constructors

ParseError 

Fields

  • Text

    The type of the parser

  • Text

    The reason that parsing failed

CheckError 

Fields

  • Text

    The name of the check that failed

  • Text

    The reason for the check failing

InvokeError 

Fields

  • Text

    The name of the command that failed

  • Text

    The reason for failing