Calamity.Commands.Error
Description
Command errors
data CommandError Source #
Constructors
Fields
The type of the parser
The reason that parsing failed
The name of the check that failed
The reason for the check failing
The name of the command that failed
The reason for failing
Defined in Calamity.Commands.Error
Methods
showsPrec :: Int -> CommandError -> ShowS #
show :: CommandError -> String #
showList :: [CommandError] -> ShowS #
Associated Types
type Rep CommandError :: Type -> Type #
from :: CommandError -> Rep CommandError x #
to :: Rep CommandError x -> CommandError #
showbPrec :: Int -> CommandError -> Builder
showb :: CommandError -> Builder
showbList :: [CommandError] -> Builder
showtPrec :: Int -> CommandError -> Text
showt :: CommandError -> Text
showtList :: [CommandError] -> Text
showtlPrec :: Int -> CommandError -> Text
showtl :: CommandError -> Text
showtlList :: [CommandError] -> Text