calamity-0.1.28.4: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Commands.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

Instances

Instances details
Show CommandError Source # 
Instance details

Defined in Calamity.Commands.Error

Generic CommandError Source # 
Instance details

Defined in Calamity.Commands.Error

Associated Types

type Rep CommandError :: Type -> Type #

TextShow CommandError Source # 
Instance details

Defined in Calamity.Commands.Error

type Rep CommandError Source # 
Instance details

Defined in Calamity.Commands.Error