irc-core-2.13: IRC core library for glirc

Copyright | (c) Eric Mertens 2016
License | ISC
Maintainer | emertens@gmail.com
Safe Haskell | None
Language | Haskell2010

Irc.Codes

Description

This module defines support for working with IRC's numeric reply codes. Pattern synonyms are provided for each of the possible IRC reply codes.

Reply code information was extracted from https://www.alien.net.au/irc/irc2numerics.html

Synopsis

- newtype ReplyCode = ReplyCode Word
- data ReplyType
  - = ClientServerReply
  - | CommandReply
  - | ErrorReply
  - | UnknownReply
- pattern RPL_WELCOME :: ReplyCode
- pattern RPL_YOURHOST :: ReplyCode
- pattern RPL_CREATED :: ReplyCode
- pattern RPL_MYINFO :: ReplyCode
- pattern RPL_ISUPPORT :: ReplyCode
- pattern RPL_SNOMASK :: ReplyCode
- pattern RPL_STATMEMTOT :: ReplyCode
- pattern RPL_REDIR :: ReplyCode
- pattern RPL_YOURCOOKIE :: ReplyCode
- pattern RPL_MAP :: ReplyCode
- pattern RPL_MAPEND :: ReplyCode
- pattern RPL_YOURID :: ReplyCode
- pattern RPL_SAVENICK :: ReplyCode
- pattern RPL_ATTEMPTINGJUNC :: ReplyCode
- pattern RPL_ATTEMPTINGREROUTE :: ReplyCode
- pattern RPL_REMOTESUPPORT :: ReplyCode
- pattern RPL_TRACELINK :: ReplyCode
- pattern RPL_TRACECONNECTING :: ReplyCode
- pattern RPL_TRACEHANDSHAKE :: ReplyCode
- pattern RPL_TRACEUNKNOWN :: ReplyCode
- pattern RPL_TRACEOPERATOR :: ReplyCode
- pattern RPL_TRACEUSER :: ReplyCode
- pattern RPL_TRACESERVER :: ReplyCode
- pattern RPL_TRACESERVICE :: ReplyCode
- pattern RPL_TRACENEWTYPE :: ReplyCode
- pattern RPL_TRACECLASS :: ReplyCode
- pattern RPL_TRACERECONNECT :: ReplyCode
- pattern RPL_STATS :: ReplyCode
- pattern RPL_STATSLINKINFO :: ReplyCode
- pattern RPL_STATSCOMMANDS :: ReplyCode
- pattern RPL_STATSCLINE :: ReplyCode
- pattern RPL_STATSNLINE :: ReplyCode
- pattern RPL_STATSILINE :: ReplyCode
- pattern RPL_STATSKLINE :: ReplyCode
- pattern RPL_STATSQLINE :: ReplyCode
- pattern RPL_STATSYLINE :: ReplyCode
- pattern RPL_ENDOFSTATS :: ReplyCode
- pattern RPL_STATSPLINE :: ReplyCode
- pattern RPL_UMODEIS :: ReplyCode
- pattern RPL_SQLINE_NICK :: ReplyCode
- pattern RPL_STATSDLINE :: ReplyCode
- pattern RPL_STATSCOUNT :: ReplyCode
- pattern RPL_SERVICEINFO :: ReplyCode
- pattern RPL_ENDOFSERVICES :: ReplyCode
- pattern RPL_SERVICE :: ReplyCode
- pattern RPL_SERVLIST :: ReplyCode
- pattern RPL_SERVLISTEND :: ReplyCode
- pattern RPL_STATSVERBOSE :: ReplyCode
- pattern RPL_STATSIAUTH :: ReplyCode
- pattern RPL_STATSLLINE :: ReplyCode
- pattern RPL_STATSUPTIME :: ReplyCode
- pattern RPL_STATSOLINE :: ReplyCode
- pattern RPL_STATSHLINE :: ReplyCode
- pattern RPL_STATSSLINE :: ReplyCode
- pattern RPL_STATSPING :: ReplyCode
- pattern RPL_STATSXLINE :: ReplyCode
- pattern RPL_STATSULINE :: ReplyCode
- pattern RPL_STATSDEBUG :: ReplyCode
- pattern RPL_STATSCONN :: ReplyCode
- pattern RPL_LUSERCLIENT :: ReplyCode
- pattern RPL_LUSEROP :: ReplyCode
- pattern RPL_LUSERUNKNOWN :: ReplyCode
- pattern RPL_LUSERCHANNELS :: ReplyCode
- pattern RPL_LUSERME :: ReplyCode
- pattern RPL_ADMINME :: ReplyCode
- pattern RPL_ADMINLOC1 :: ReplyCode
- pattern RPL_ADMINLOC2 :: ReplyCode
- pattern RPL_ADMINEMAIL :: ReplyCode
- pattern RPL_TRACELOG :: ReplyCode
- pattern RPL_ENDOFTRACE :: ReplyCode
- pattern RPL_LOAD2HI :: ReplyCode
- pattern RPL_LOCALUSERS :: ReplyCode
- pattern RPL_GLOBALUSERS :: ReplyCode
- pattern RPL_START_NETSTAT :: ReplyCode
- pattern RPL_NETSTAT :: ReplyCode
- pattern RPL_END_NETSTAT :: ReplyCode
- pattern RPL_PRIVS :: ReplyCode
- pattern RPL_SILELIST :: ReplyCode
- pattern RPL_ENDOFSILELIST :: ReplyCode
- pattern RPL_NOTIFY :: ReplyCode
- pattern RPL_ENDNOTIFY :: ReplyCode
- pattern RPL_STATSDELTA :: ReplyCode
- pattern RPL_WHOISCERTFP :: ReplyCode
- pattern RPL_VCHANLIST :: ReplyCode
- pattern RPL_VCHANHELP :: ReplyCode
- pattern RPL_GLIST :: ReplyCode
- pattern RPL_ACCEPTLIST :: ReplyCode
- pattern RPL_ENDOFACCEPT :: ReplyCode
- pattern RPL_ENDOFJUPELIST :: ReplyCode
- pattern RPL_FEATURE :: ReplyCode
- pattern RPL_DATASTR :: ReplyCode
- pattern RPL_END_CHANINFO :: ReplyCode
- pattern RPL_NONE :: ReplyCode
- pattern RPL_AWAY :: ReplyCode
- pattern RPL_USERHOST :: ReplyCode
- pattern RPL_ISON :: ReplyCode
- pattern RPL_TEXT :: ReplyCode
- pattern RPL_UNAWAY :: ReplyCode
- pattern RPL_NOWAWAY :: ReplyCode
- pattern RPL_WHOISREGNICK :: ReplyCode
- pattern RPL_SUSERHOST :: ReplyCode
- pattern RPL_NOTIFYACTION :: ReplyCode
- pattern RPL_WHOISADMIN :: ReplyCode
- pattern RPL_NICKTRACE :: ReplyCode
- pattern RPL_WHOISSADMIN :: ReplyCode
- pattern RPL_WHOISHELPER :: ReplyCode
- pattern RPL_WHOISHELPOP :: ReplyCode
- pattern RPL_WHOISUSER :: ReplyCode
- pattern RPL_WHOISSERVER :: ReplyCode
- pattern RPL_WHOISOPERATOR :: ReplyCode
- pattern RPL_WHOWASUSER :: ReplyCode
- pattern RPL_ENDOFWHO :: ReplyCode
- pattern RPL_WHOISCHANOP :: ReplyCode
- pattern RPL_WHOISIDLE :: ReplyCode
- pattern RPL_ENDOFWHOIS :: ReplyCode
- pattern RPL_WHOISCHANNELS :: ReplyCode
- pattern RPL_WHOISSPECIAL :: ReplyCode
- pattern RPL_LISTSTART :: ReplyCode
- pattern RPL_LIST :: ReplyCode
- pattern RPL_LISTEND :: ReplyCode
- pattern RPL_CHANNELMODEIS :: ReplyCode
- pattern RPL_CHANNELMLOCKIS :: ReplyCode
- pattern RPL_NOCHANPASS :: ReplyCode
- pattern RPL_CHPASSUNKNOWN :: ReplyCode
- pattern RPL_CHANNEL_URL :: ReplyCode
- pattern RPL_CREATIONTIME :: ReplyCode
- pattern RPL_WHOISACCOUNT :: ReplyCode
- pattern RPL_NOTOPIC :: ReplyCode
- pattern RPL_TOPIC :: ReplyCode
- pattern RPL_TOPICWHOTIME :: ReplyCode
- pattern RPL_LISTUSAGE :: ReplyCode
- pattern RPL_COMMANDSYNTAX :: ReplyCode
- pattern RPL_LISTSYNTAX :: ReplyCode
- pattern RPL_WHOISTEXT :: ReplyCode
- pattern RPL_WHOISACTUALLY :: ReplyCode
- pattern RPL_BADCHANPASS :: ReplyCode
- pattern RPL_INVITING :: ReplyCode
- pattern RPL_SUMMONING :: ReplyCode
- pattern RPL_INVITED :: ReplyCode
- pattern RPL_INVEXLIST :: ReplyCode
- pattern RPL_ENDOFINVEXLIST :: ReplyCode
- pattern RPL_EXCEPTLIST :: ReplyCode
- pattern RPL_ENDOFEXCEPTLIST :: ReplyCode
- pattern RPL_VERSION :: ReplyCode
- pattern RPL_WHOREPLY :: ReplyCode
- pattern RPL_NAMREPLY :: ReplyCode
- pattern RPL_WHOSPCRPL :: ReplyCode
- pattern RPL_NAMREPLY_ :: ReplyCode
- pattern RPL_WHOWASREAL :: ReplyCode
- pattern RPL_KILLDONE :: ReplyCode
- pattern RPL_CLOSING :: ReplyCode
- pattern RPL_CLOSEEND :: ReplyCode
- pattern RPL_LINKS :: ReplyCode
- pattern RPL_ENDOFLINKS :: ReplyCode
- pattern RPL_ENDOFNAMES :: ReplyCode
- pattern RPL_BANLIST :: ReplyCode
- pattern RPL_ENDOFBANLIST :: ReplyCode
- pattern RPL_ENDOFWHOWAS :: ReplyCode
- pattern RPL_INFO :: ReplyCode
- pattern RPL_MOTD :: ReplyCode
- pattern RPL_INFOSTART :: ReplyCode
- pattern RPL_ENDOFINFO :: ReplyCode
- pattern RPL_MOTDSTART :: ReplyCode
- pattern RPL_ENDOFMOTD :: ReplyCode
- pattern RPL_WHOISHOST :: ReplyCode
- pattern RPL_WHOISMODES :: ReplyCode
- pattern RPL_YOUREOPER :: ReplyCode
- pattern RPL_REHASHING :: ReplyCode
- pattern RPL_YOURESERVICE :: ReplyCode
- pattern RPL_MYPORTIS :: ReplyCode
- pattern RPL_NOTOPERANYMORE :: ReplyCode
- pattern RPL_RSACHALLENGE :: ReplyCode
- pattern RPL_TIME :: ReplyCode
- pattern RPL_USERSSTART :: ReplyCode
- pattern RPL_USERS :: ReplyCode
- pattern RPL_ENDOFUSERS :: ReplyCode
- pattern RPL_NOUSERS :: ReplyCode
- pattern RPL_HOSTHIDDEN :: ReplyCode
- pattern ERR_UNKNOWNERROR :: ReplyCode
- pattern ERR_NOSUCHNICK :: ReplyCode
- pattern ERR_NOSUCHSERVER :: ReplyCode
- pattern ERR_NOSUCHCHANNEL :: ReplyCode
- pattern ERR_CANNOTSENDTOCHAN :: ReplyCode
- pattern ERR_TOOMANYCHANNELS :: ReplyCode
- pattern ERR_WASNOSUCHNICK :: ReplyCode
- pattern ERR_TOOMANYTARGETS :: ReplyCode
- pattern ERR_NOORIGIN :: ReplyCode
- pattern ERR_INVALIDCAPCMD :: ReplyCode
- pattern ERR_NORECIPIENT :: ReplyCode
- pattern ERR_NOTEXTTOSEND :: ReplyCode
- pattern ERR_NOTOPLEVEL :: ReplyCode
- pattern ERR_WILDTOPLEVEL :: ReplyCode
- pattern ERR_MSGNEEDREGGEDNICK :: ReplyCode
- pattern ERR_TOOMANYMATCHES :: ReplyCode
- pattern ERR_LENGTHTRUNCATED :: ReplyCode
- pattern ERR_UNKNOWNCOMMAND :: ReplyCode
- pattern ERR_NOMOTD :: ReplyCode
- pattern ERR_NOADMININFO :: ReplyCode
- pattern ERR_FILEERROR :: ReplyCode
- pattern ERR_NOOPERMOTD :: ReplyCode
- pattern ERR_TOOMANYAWAY :: ReplyCode
- pattern ERR_EVENTNICKCHANGE :: ReplyCode
- pattern ERR_NONICKNAMEGIVEN :: ReplyCode
- pattern ERR_ERRONEUSNICKNAME :: ReplyCode
- pattern ERR_NICKNAMEINUSE :: ReplyCode
- pattern ERR_SERVICENAMEINUSE :: ReplyCode
- pattern ERR_NORULES :: ReplyCode
- pattern ERR_BANNICKCHANGE :: ReplyCode
- pattern ERR_NICKCOLLISION :: ReplyCode
- pattern ERR_UNAVAILRESOURCE :: ReplyCode
- pattern ERR_NICKTOOFAST :: ReplyCode
- pattern ERR_TARGETTOOFAST :: ReplyCode
- pattern ERR_SERVICESDOWN :: ReplyCode
- pattern ERR_USERNOTINCHANNEL :: ReplyCode
- pattern ERR_NOTONCHANNEL :: ReplyCode
- pattern ERR_USERONCHANNEL :: ReplyCode
- pattern ERR_NOLOGIN :: ReplyCode
- pattern ERR_SUMMONDISABLED :: ReplyCode
- pattern ERR_USERSDISABLED :: ReplyCode
- pattern ERR_NONICKCHANGE :: ReplyCode
- pattern ERR_NOTIMPLEMENTED :: ReplyCode
- pattern ERR_NOTREGISTERED :: ReplyCode
- pattern ERR_IDCOLLISION :: ReplyCode
- pattern ERR_NICKLOST :: ReplyCode
- pattern ERR_HOSTILENAME :: ReplyCode
- pattern ERR_ACCEPTFULL :: ReplyCode
- pattern ERR_ACCEPTEXIST :: ReplyCode
- pattern ERR_ACCEPTNOT :: ReplyCode
- pattern ERR_NOHIDING :: ReplyCode
- pattern ERR_NOTFORHALFOPS :: ReplyCode
- pattern ERR_NEEDMOREPARAMS :: ReplyCode
- pattern ERR_ALREADYREGISTERED :: ReplyCode
- pattern ERR_NOPERMFORHOST :: ReplyCode
- pattern ERR_PASSWDMISMATCH :: ReplyCode
- pattern ERR_YOUREBANNEDCREEP :: ReplyCode
- pattern ERR_YOUWILLBEBANNED :: ReplyCode
- pattern ERR_KEYSET :: ReplyCode
- pattern ERR_INVALIDUSERNAME :: ReplyCode
- pattern ERR_ONLYSERVERSCANCHANGE :: ReplyCode
- pattern ERR_LINKSET :: ReplyCode
- pattern ERR_LINKCHANNEL :: ReplyCode
- pattern ERR_CHANNELISFULL :: ReplyCode
- pattern ERR_UNKNOWNMODE :: ReplyCode
- pattern ERR_INVITEONLYCHAN :: ReplyCode
- pattern ERR_BANNEDFROMCHAN :: ReplyCode
- pattern ERR_BADCHANNELKEY :: ReplyCode
- pattern ERR_BADCHANMASK :: ReplyCode
- pattern ERR_NEEDREGGEDNICK :: ReplyCode
- pattern ERR_BANLISTFULL :: ReplyCode
- pattern ERR_BADCHANNAME :: ReplyCode
- pattern ERR_THROTTLE :: ReplyCode
- pattern ERR_NOPRIVILEGES :: ReplyCode
- pattern ERR_CHANOPRIVSNEEDED :: ReplyCode
- pattern ERR_CANTKILLSERVER :: ReplyCode
- pattern ERR_ISCHANSERVICE :: ReplyCode
- pattern ERR_BANNEDNICK :: ReplyCode
- pattern ERR_NONONREG :: ReplyCode
- pattern ERR_TSLESSCHAN :: ReplyCode
- pattern ERR_VOICENEEDED :: ReplyCode
- pattern ERR_NOOPERHOST :: ReplyCode
- pattern ERR_NOSERVICEHOST :: ReplyCode
- pattern ERR_NOFEATURE :: ReplyCode
- pattern ERR_OWNMODE :: ReplyCode
- pattern ERR_BADLOGTYPE :: ReplyCode
- pattern ERR_BADLOGSYS :: ReplyCode
- pattern ERR_BADLOGVALUE :: ReplyCode
- pattern ERR_ISOPERLCHAN :: ReplyCode
- pattern ERR_CHANOWNPRIVNEEDED :: ReplyCode
- pattern ERR_UMODEUNKNOWNFLAG :: ReplyCode
- pattern ERR_USERSDONTMATCH :: ReplyCode
- pattern ERR_GHOSTEDCLIENT :: ReplyCode
- pattern ERR_USERNOTONSERV :: ReplyCode
- pattern ERR_SILELISTFULL :: ReplyCode
- pattern ERR_TOOMANYWATCH :: ReplyCode
- pattern ERR_WRONGPONG :: ReplyCode
- pattern ERR_BADEXPIRE :: ReplyCode
- pattern ERR_DONTCHEAT :: ReplyCode
- pattern ERR_DISABLED :: ReplyCode
- pattern ERR_NOINVITE :: ReplyCode
- pattern ERR_LONGMASK :: ReplyCode
- pattern ERR_ADMONLY :: ReplyCode
- pattern ERR_TOOMANYUSERS :: ReplyCode
- pattern ERR_OPERONLY :: ReplyCode
- pattern ERR_MASKTOOWIDE :: ReplyCode
- pattern ERR_WHOTRUNC :: ReplyCode
- pattern ERR_LISTSYNTAX :: ReplyCode
- pattern ERR_WHOSYNTAX :: ReplyCode
- pattern ERR_WHOLIMEXCEED :: ReplyCode
- pattern ERR_HELPNOTFOUND :: ReplyCode
- pattern ERR_REMOTEPFX :: ReplyCode
- pattern ERR_PFXUNROUTABLE :: ReplyCode
- pattern ERR_BADHOSTMASK :: ReplyCode
- pattern ERR_HOSTUNAVAIL :: ReplyCode
- pattern ERR_USINGSLINE :: ReplyCode
- pattern ERR_STATSSLINE :: ReplyCode
- pattern RPL_LOGON :: ReplyCode
- pattern RPL_LOGOFF :: ReplyCode
- pattern RPL_WATCHOFF :: ReplyCode
- pattern RPL_WATCHSTAT :: ReplyCode
- pattern RPL_NOWON :: ReplyCode
- pattern RPL_NOWOFF :: ReplyCode
- pattern RPL_WATCHLIST :: ReplyCode
- pattern RPL_ENDOFWATCHLIST :: ReplyCode
- pattern RPL_WATCHCLEAR :: ReplyCode
- pattern RPL_ISOPER :: ReplyCode
- pattern RPL_ISLOCOP :: ReplyCode
- pattern RPL_ISNOTOPER :: ReplyCode
- pattern RPL_ENDOFISOPER :: ReplyCode
- pattern RPL_DCCSTATUS :: ReplyCode
- pattern RPL_DCCLIST :: ReplyCode
- pattern RPL_ENDOFDCCLIST :: ReplyCode
- pattern RPL_WHOWASHOST :: ReplyCode
- pattern RPL_DCCINFO :: ReplyCode
- pattern RPL_RULES :: ReplyCode
- pattern RPL_ENDOFO :: ReplyCode
- pattern RPL_SETTINGS :: ReplyCode
- pattern RPL_ENDOFSETTINGS :: ReplyCode
- pattern RPL_DUMPING :: ReplyCode
- pattern RPL_DUMPRPL :: ReplyCode
- pattern RPL_EODUMP :: ReplyCode
- pattern RPL_TRACEROUTE_HOP :: ReplyCode
- pattern RPL_TRACEROUTE_START :: ReplyCode
- pattern RPL_MODECHANGEWARN :: ReplyCode
- pattern RPL_CHANREDIR :: ReplyCode
- pattern RPL_SERVMODEIS :: ReplyCode
- pattern RPL_OTHERUMODEIS :: ReplyCode
- pattern RPL_ENDOF_GENERIC :: ReplyCode
- pattern RPL_STARTTLS :: ReplyCode
- pattern RPL_WHOISSECURE :: ReplyCode
- pattern RPL_UNKNOWNMODES :: ReplyCode
- pattern RPL_CANNOTSETMODES :: ReplyCode
- pattern RPL_LUSERSTAFF :: ReplyCode
- pattern RPL_TIMEONSERVERIS :: ReplyCode
- pattern RPL_NETWORKS :: ReplyCode
- pattern RPL_YOURLANGUAGEIS :: ReplyCode
- pattern RPL_LANGUAGE :: ReplyCode
- pattern RPL_WHOISSTAFF :: ReplyCode
- pattern RPL_WHOISLANGUAGE :: ReplyCode
- pattern ERR_STARTTLS :: ReplyCode
- pattern RPL_MODLIST :: ReplyCode
- pattern RPL_ENDOFMODLIST :: ReplyCode
- pattern RPL_HELPSTART :: ReplyCode
- pattern RPL_HELPTXT :: ReplyCode
- pattern RPL_ENDOFHELP :: ReplyCode
- pattern ERR_TARGCHANGE :: ReplyCode
- pattern RPL_ETRACEFULL :: ReplyCode
- pattern RPL_ETRACE :: ReplyCode
- pattern RPL_KNOCK :: ReplyCode
- pattern RPL_KNOCKDLVR :: ReplyCode
- pattern ERR_TOOMANYKNOCK :: ReplyCode
- pattern ERR_CHANOPEN :: ReplyCode
- pattern ERR_KNOCKONCHAN :: ReplyCode
- pattern ERR_KNOCKDISABLED :: ReplyCode
- pattern RPL_TARGUMODEG :: ReplyCode
- pattern RPL_TARGNOTIFY :: ReplyCode
- pattern RPL_UMODEGMSG :: ReplyCode
- pattern RPL_OMOTDSTART :: ReplyCode
- pattern RPL_OMOTD :: ReplyCode
- pattern RPL_ENDOFOMOTD :: ReplyCode
- pattern ERR_NOPRIVS :: ReplyCode
- pattern RPL_TESTMASK :: ReplyCode
- pattern RPL_TESTLINE :: ReplyCode
- pattern RPL_NOTESTLINE :: ReplyCode
- pattern RPL_TESTMASKGECOS :: ReplyCode
- pattern RPL_QUIETLIST :: ReplyCode
- pattern RPL_ENDOFQUIETLIST :: ReplyCode
- pattern RPL_MONONLINE :: ReplyCode
- pattern RPL_MONOFFLINE :: ReplyCode
- pattern RPL_MONLIST :: ReplyCode
- pattern RPL_ENDOFMONLIST :: ReplyCode
- pattern ERR_MONLISTFULL :: ReplyCode
- pattern RPL_RSACHALLENGE2 :: ReplyCode
- pattern RPL_ENDOFRSACHALLENGE2 :: ReplyCode
- pattern ERR_MLOCKRESTRICTED :: ReplyCode
- pattern RPL_SCANMATCHED :: ReplyCode
- pattern RPL_SCANUMODES :: ReplyCode
- pattern RPL_XINFO :: ReplyCode
- pattern RPL_XINFOSTART :: ReplyCode
- pattern RPL_XINFOEND :: ReplyCode
- pattern RPL_LOGGEDIN :: ReplyCode
- pattern RPL_LOGGEDOUT :: ReplyCode
- pattern RPL_NICKLOCKED :: ReplyCode
- pattern RPL_SASLSUCCESS :: ReplyCode
- pattern ERR_SASLFAIL :: ReplyCode
- pattern ERR_SASLTOOLONG :: ReplyCode
- pattern ERR_SASLABORTED :: ReplyCode
- pattern ERR_SASLALREADY :: ReplyCode
- pattern RPL_SASLMECHS :: ReplyCode
- pattern ERR_CANNOTDOCOMMAND :: ReplyCode
- pattern ERR_CANNOTCHANGEUMODE :: ReplyCode
- pattern ERR_CANNOTCHANGECHANMODE :: ReplyCode
- pattern ERR_CANNOTCHANGESERVERMODE :: ReplyCode
- pattern ERR_CANNOTSENDTONICK :: ReplyCode
- pattern ERR_UNKNOWNSERVERMODE :: ReplyCode
- pattern ERR_SERVERMODELOCK :: ReplyCode
- pattern ERR_BADCHARENCODING :: ReplyCode
- pattern ERR_TOOMANYLANGUAGES :: ReplyCode
- pattern ERR_NOLANGUAGE :: ReplyCode
- pattern ERR_TEXTTOOSHORT :: ReplyCode
- pattern ERR_NUMERIC_ERR :: ReplyCode
- data ReplyCodeInfo = ReplyCodeInfo {
  - replyCodeType :: !ReplyType
  - replyCodeText :: !Text
  }
- replyCodeInfo :: ReplyCode -> ReplyCodeInfo
- defaultReplyCodeInfo :: Int -> ReplyCodeInfo
- replyCodeInfoTable :: Vector ReplyCodeInfo

# Documentation

newtype ReplyCode Source #

Type of numeric reply codes

Constructors

ReplyCode Word |

#### Instances

Instances details

Read ReplyCode Source # | Reads only the number
Instance details Defined in Irc.Codes Methods readsPrec :: Int -> ReadS ReplyCode Source # readList :: ReadS [ReplyCode] Source # readPrec :: ReadPrec ReplyCode Source # readListPrec :: ReadPrec [ReplyCode] Source #
Show ReplyCode Source # | Shows number
Instance details Defined in Irc.Codes Methods showsPrec :: Int -> ReplyCode -> ShowS Source # show :: ReplyCode -> String Source # showList :: [ReplyCode] -> ShowS Source #
Eq ReplyCode Source # |
Instance details Defined in Irc.Codes Methods (==) :: ReplyCode -> ReplyCode -> Bool Source # (/=) :: ReplyCode -> ReplyCode -> Bool Source #
Ord ReplyCode Source # |
Instance details Defined in Irc.Codes Methods compare :: ReplyCode -> ReplyCode -> Ordering Source # (<) :: ReplyCode -> ReplyCode -> Bool Source # (<=) :: ReplyCode -> ReplyCode -> Bool Source # (>) :: ReplyCode -> ReplyCode -> Bool Source # (>=) :: ReplyCode -> ReplyCode -> Bool Source # max :: ReplyCode -> ReplyCode -> ReplyCode Source # min :: ReplyCode -> ReplyCode -> ReplyCode Source #

data ReplyType Source #

Categories for reply codes

Constructors

ClientServerReply | 0-99 Messages between client and server
CommandReply | 200-399 Responses to commands
ErrorReply | 400-599 Errors
UnknownReply | Uncategorized

#### Instances

Instances details

Read ReplyType Source # |
Instance details Defined in Irc.Codes Methods readsPrec :: Int -> ReadS ReplyType Source # readList :: ReadS [ReplyType] Source # readPrec :: ReadPrec ReplyType Source # readListPrec :: ReadPrec [ReplyType] Source #
Show ReplyType Source # |
Instance details Defined in Irc.Codes Methods showsPrec :: Int -> ReplyType -> ShowS Source # show :: ReplyType -> String Source # showList :: [ReplyType] -> ShowS Source #
Eq ReplyType Source # |
Instance details Defined in Irc.Codes Methods (==) :: ReplyType -> ReplyType -> Bool Source # (/=) :: ReplyType -> ReplyType -> Bool Source #
Ord ReplyType Source # |
Instance details Defined in Irc.Codes Methods compare :: ReplyType -> ReplyType -> Ordering Source # (<) :: ReplyType -> ReplyType -> Bool Source # (<=) :: ReplyType -> ReplyType -> Bool Source # (>) :: ReplyType -> ReplyType -> Bool Source # (>=) :: ReplyType -> ReplyType -> Bool Source # max :: ReplyType -> ReplyType -> ReplyType Source # min :: ReplyType -> ReplyType -> ReplyType Source #

pattern RPL_WELCOME :: ReplyCode Source #

pattern RPL_YOURHOST :: ReplyCode Source #

pattern RPL_CREATED :: ReplyCode Source #

pattern RPL_MYINFO :: ReplyCode Source #

pattern RPL_ISUPPORT :: ReplyCode Source #

pattern RPL_SNOMASK :: ReplyCode Source #

pattern RPL_STATMEMTOT :: ReplyCode Source #

pattern RPL_REDIR :: ReplyCode Source #

pattern RPL_YOURCOOKIE :: ReplyCode Source #

pattern RPL_MAP :: ReplyCode Source #

pattern RPL_MAPEND :: ReplyCode Source #

pattern RPL_YOURID :: ReplyCode Source #

pattern RPL_SAVENICK :: ReplyCode Source #

pattern RPL_ATTEMPTINGJUNC :: ReplyCode Source #

pattern RPL_ATTEMPTINGREROUTE :: ReplyCode Source #

pattern RPL_REMOTESUPPORT :: ReplyCode Source #

pattern RPL_TRACELINK :: ReplyCode Source #

pattern RPL_TRACECONNECTING :: ReplyCode Source #

pattern RPL_TRACEHANDSHAKE :: ReplyCode Source #

pattern RPL_TRACEUNKNOWN :: ReplyCode Source #

pattern RPL_TRACEOPERATOR :: ReplyCode Source #

pattern RPL_TRACEUSER :: ReplyCode Source #

pattern RPL_TRACESERVER :: ReplyCode Source #

pattern RPL_TRACESERVICE :: ReplyCode Source #

pattern RPL_TRACENEWTYPE :: ReplyCode Source #

pattern RPL_TRACECLASS :: ReplyCode Source #

pattern RPL_TRACERECONNECT :: ReplyCode Source #

pattern RPL_STATS :: ReplyCode Source #

pattern RPL_STATSLINKINFO :: ReplyCode Source #

pattern RPL_STATSCOMMANDS :: ReplyCode Source #

pattern RPL_STATSCLINE :: ReplyCode Source #

pattern RPL_STATSNLINE :: ReplyCode Source #

pattern RPL_STATSILINE :: ReplyCode Source #

pattern RPL_STATSKLINE :: ReplyCode Source #

pattern RPL_STATSQLINE :: ReplyCode Source #

pattern RPL_STATSYLINE :: ReplyCode Source #

pattern RPL_ENDOFSTATS :: ReplyCode Source #

pattern RPL_STATSPLINE :: ReplyCode Source #

pattern RPL_UMODEIS :: ReplyCode Source #

pattern RPL_SQLINE_NICK :: ReplyCode Source #

pattern RPL_STATSDLINE :: ReplyCode Source #

pattern RPL_STATSCOUNT :: ReplyCode Source #

pattern RPL_SERVICEINFO :: ReplyCode Source #

pattern RPL_ENDOFSERVICES :: ReplyCode Source #

pattern RPL_SERVICE :: ReplyCode Source #

pattern RPL_SERVLIST :: ReplyCode Source #

pattern RPL_SERVLISTEND :: ReplyCode Source #

pattern RPL_STATSVERBOSE :: ReplyCode Source #

pattern RPL_STATSIAUTH :: ReplyCode Source #

pattern RPL_STATSLLINE :: ReplyCode Source #

pattern RPL_STATSUPTIME :: ReplyCode Source #

pattern RPL_STATSOLINE :: ReplyCode Source #

pattern RPL_STATSHLINE :: ReplyCode Source #

pattern RPL_STATSSLINE :: ReplyCode Source #

pattern RPL_STATSPING :: ReplyCode Source #

pattern RPL_STATSXLINE :: ReplyCode Source #

pattern RPL_STATSULINE :: ReplyCode Source #

pattern RPL_STATSDEBUG :: ReplyCode Source #

pattern RPL_STATSCONN :: ReplyCode Source #

pattern RPL_LUSERCLIENT :: ReplyCode Source #

pattern RPL_LUSEROP :: ReplyCode Source #

pattern RPL_LUSERUNKNOWN :: ReplyCode Source #

pattern RPL_LUSERCHANNELS :: ReplyCode Source #

pattern RPL_LUSERME :: ReplyCode Source #

pattern RPL_ADMINME :: ReplyCode Source #

pattern RPL_ADMINLOC1 :: ReplyCode Source #

pattern RPL_ADMINLOC2 :: ReplyCode Source #

pattern RPL_ADMINEMAIL :: ReplyCode Source #

pattern RPL_TRACELOG :: ReplyCode Source #

pattern RPL_ENDOFTRACE :: ReplyCode Source #

pattern RPL_LOAD2HI :: ReplyCode Source #

pattern RPL_LOCALUSERS :: ReplyCode Source #

pattern RPL_GLOBALUSERS :: ReplyCode Source #

pattern RPL_START_NETSTAT :: ReplyCode Source #

pattern RPL_NETSTAT :: ReplyCode Source #

pattern RPL_END_NETSTAT :: ReplyCode Source #

pattern RPL_PRIVS :: ReplyCode Source #

pattern RPL_SILELIST :: ReplyCode Source #

pattern RPL_ENDOFSILELIST :: ReplyCode Source #

pattern RPL_NOTIFY :: ReplyCode Source #

pattern RPL_ENDNOTIFY :: ReplyCode Source #

pattern RPL_STATSDELTA :: ReplyCode Source #

pattern RPL_WHOISCERTFP :: ReplyCode Source #

pattern RPL_VCHANLIST :: ReplyCode Source #

pattern RPL_VCHANHELP :: ReplyCode Source #

pattern RPL_GLIST :: ReplyCode Source #

pattern RPL_ACCEPTLIST :: ReplyCode Source #

pattern RPL_ENDOFACCEPT :: ReplyCode Source #

pattern RPL_ENDOFJUPELIST :: ReplyCode Source #

pattern RPL_FEATURE :: ReplyCode Source #

pattern RPL_DATASTR :: ReplyCode Source #

pattern RPL_END_CHANINFO :: ReplyCode Source #

pattern RPL_NONE :: ReplyCode Source #

pattern RPL_AWAY :: ReplyCode Source #

pattern RPL_USERHOST :: ReplyCode Source #

pattern RPL_ISON :: ReplyCode Source #

pattern RPL_TEXT :: ReplyCode Source #

pattern RPL_UNAWAY :: ReplyCode Source #

pattern RPL_NOWAWAY :: ReplyCode Source #

pattern RPL_WHOISREGNICK :: ReplyCode Source #

pattern RPL_SUSERHOST :: ReplyCode Source #

pattern RPL_NOTIFYACTION :: ReplyCode Source #

pattern RPL_WHOISADMIN :: ReplyCode Source #

pattern RPL_NICKTRACE :: ReplyCode Source #

pattern RPL_WHOISSADMIN :: ReplyCode Source #

pattern RPL_WHOISHELPER :: ReplyCode Source #

pattern RPL_WHOISHELPOP :: ReplyCode Source #

pattern RPL_WHOISUSER :: ReplyCode Source #

pattern RPL_WHOISSERVER :: ReplyCode Source #

pattern RPL_WHOISOPERATOR :: ReplyCode Source #

pattern RPL_WHOWASUSER :: ReplyCode Source #

pattern RPL_ENDOFWHO :: ReplyCode Source #

pattern RPL_WHOISCHANOP :: ReplyCode Source #

pattern RPL_WHOISIDLE :: ReplyCode Source #

pattern RPL_ENDOFWHOIS :: ReplyCode Source #

pattern RPL_WHOISCHANNELS :: ReplyCode Source #

pattern RPL_WHOISSPECIAL :: ReplyCode Source #

pattern RPL_LISTSTART :: ReplyCode Source #

pattern RPL_LIST :: ReplyCode Source #

pattern RPL_LISTEND :: ReplyCode Source #

pattern RPL_CHANNELMODEIS :: ReplyCode Source #

pattern RPL_CHANNELMLOCKIS :: ReplyCode Source #

pattern RPL_NOCHANPASS :: ReplyCode Source #

pattern RPL_CHPASSUNKNOWN :: ReplyCode Source #

pattern RPL_CHANNEL_URL :: ReplyCode Source #

pattern RPL_CREATIONTIME :: ReplyCode Source #

pattern RPL_WHOISACCOUNT :: ReplyCode Source #

pattern RPL_NOTOPIC :: ReplyCode Source #

pattern RPL_TOPIC :: ReplyCode Source #

pattern RPL_TOPICWHOTIME :: ReplyCode Source #

pattern RPL_LISTUSAGE :: ReplyCode Source #

pattern RPL_COMMANDSYNTAX :: ReplyCode Source #

pattern RPL_LISTSYNTAX :: ReplyCode Source #

pattern RPL_WHOISTEXT :: ReplyCode Source #

pattern RPL_WHOISACTUALLY :: ReplyCode Source #

pattern RPL_BADCHANPASS :: ReplyCode Source #

pattern RPL_INVITING :: ReplyCode Source #

pattern RPL_SUMMONING :: ReplyCode Source #

pattern RPL_INVITED :: ReplyCode Source #

pattern RPL_INVEXLIST :: ReplyCode Source #

pattern RPL_ENDOFINVEXLIST :: ReplyCode Source #

pattern RPL_EXCEPTLIST :: ReplyCode Source #

pattern RPL_ENDOFEXCEPTLIST :: ReplyCode Source #

pattern RPL_VERSION :: ReplyCode Source #

pattern RPL_WHOREPLY :: ReplyCode Source #

pattern RPL_NAMREPLY :: ReplyCode Source #

pattern RPL_WHOSPCRPL :: ReplyCode Source #

pattern RPL_NAMREPLY_ :: ReplyCode Source #

pattern RPL_WHOWASREAL :: ReplyCode Source #

pattern RPL_KILLDONE :: ReplyCode Source #

pattern RPL_CLOSING :: ReplyCode Source #

pattern RPL_CLOSEEND :: ReplyCode Source #

pattern RPL_LINKS :: ReplyCode Source #

pattern RPL_ENDOFLINKS :: ReplyCode Source #

pattern RPL_ENDOFNAMES :: ReplyCode Source #

pattern RPL_BANLIST :: ReplyCode Source #

pattern RPL_ENDOFBANLIST :: ReplyCode Source #

pattern RPL_ENDOFWHOWAS :: ReplyCode Source #

pattern RPL_INFO :: ReplyCode Source #

pattern RPL_MOTD :: ReplyCode Source #

pattern RPL_INFOSTART :: ReplyCode Source #

pattern RPL_ENDOFINFO :: ReplyCode Source #

pattern RPL_MOTDSTART :: ReplyCode Source #

pattern RPL_ENDOFMOTD :: ReplyCode Source #

pattern RPL_WHOISHOST :: ReplyCode Source #

pattern RPL_WHOISMODES :: ReplyCode Source #

pattern RPL_YOUREOPER :: ReplyCode Source #

pattern RPL_REHASHING :: ReplyCode Source #

pattern RPL_YOURESERVICE :: ReplyCode Source #

pattern RPL_MYPORTIS :: ReplyCode Source #

pattern RPL_NOTOPERANYMORE :: ReplyCode Source #

pattern RPL_RSACHALLENGE :: ReplyCode Source #

pattern RPL_TIME :: ReplyCode Source #

pattern RPL_USERSSTART :: ReplyCode Source #

pattern RPL_USERS :: ReplyCode Source #

pattern RPL_ENDOFUSERS :: ReplyCode Source #

pattern RPL_NOUSERS :: ReplyCode Source #

pattern RPL_HOSTHIDDEN :: ReplyCode Source #

pattern ERR_UNKNOWNERROR :: ReplyCode Source #

pattern ERR_NOSUCHNICK :: ReplyCode Source #

pattern ERR_NOSUCHSERVER :: ReplyCode Source #

pattern ERR_NOSUCHCHANNEL :: ReplyCode Source #

pattern ERR_CANNOTSENDTOCHAN :: ReplyCode Source #

pattern ERR_TOOMANYCHANNELS :: ReplyCode Source #

pattern ERR_WASNOSUCHNICK :: ReplyCode Source #

pattern ERR_TOOMANYTARGETS :: ReplyCode Source #

pattern ERR_NOORIGIN :: ReplyCode Source #

pattern ERR_INVALIDCAPCMD :: ReplyCode Source #

pattern ERR_NORECIPIENT :: ReplyCode Source #

pattern ERR_NOTEXTTOSEND :: ReplyCode Source #

pattern ERR_NOTOPLEVEL :: ReplyCode Source #

pattern ERR_WILDTOPLEVEL :: ReplyCode Source #

pattern ERR_MSGNEEDREGGEDNICK :: ReplyCode Source #

pattern ERR_TOOMANYMATCHES :: ReplyCode Source #

pattern ERR_LENGTHTRUNCATED :: ReplyCode Source #

pattern ERR_UNKNOWNCOMMAND :: ReplyCode Source #

pattern ERR_NOMOTD :: ReplyCode Source #

pattern ERR_NOADMININFO :: ReplyCode Source #

pattern ERR_FILEERROR :: ReplyCode Source #

pattern ERR_NOOPERMOTD :: ReplyCode Source #

pattern ERR_TOOMANYAWAY :: ReplyCode Source #

pattern ERR_EVENTNICKCHANGE :: ReplyCode Source #

pattern ERR_NONICKNAMEGIVEN :: ReplyCode Source #

pattern ERR_ERRONEUSNICKNAME :: ReplyCode Source #

pattern ERR_NICKNAMEINUSE :: ReplyCode Source #

pattern ERR_SERVICENAMEINUSE :: ReplyCode Source #

pattern ERR_NORULES :: ReplyCode Source #

pattern ERR_BANNICKCHANGE :: ReplyCode Source #

pattern ERR_NICKCOLLISION :: ReplyCode Source #

pattern ERR_UNAVAILRESOURCE :: ReplyCode Source #

pattern ERR_NICKTOOFAST :: ReplyCode Source #

pattern ERR_TARGETTOOFAST :: ReplyCode Source #

pattern ERR_SERVICESDOWN :: ReplyCode Source #

pattern ERR_USERNOTINCHANNEL :: ReplyCode Source #

pattern ERR_NOTONCHANNEL :: ReplyCode Source #

pattern ERR_USERONCHANNEL :: ReplyCode Source #

pattern ERR_NOLOGIN :: ReplyCode Source #

pattern ERR_SUMMONDISABLED :: ReplyCode Source #

pattern ERR_USERSDISABLED :: ReplyCode Source #

pattern ERR_NONICKCHANGE :: ReplyCode Source #

pattern ERR_NOTIMPLEMENTED :: ReplyCode Source #

pattern ERR_NOTREGISTERED :: ReplyCode Source #

pattern ERR_IDCOLLISION :: ReplyCode Source #

pattern ERR_NICKLOST :: ReplyCode Source #

pattern ERR_HOSTILENAME :: ReplyCode Source #

pattern ERR_ACCEPTFULL :: ReplyCode Source #

pattern ERR_ACCEPTEXIST :: ReplyCode Source #

pattern ERR_ACCEPTNOT :: ReplyCode Source #

pattern ERR_NOHIDING :: ReplyCode Source #

pattern ERR_NOTFORHALFOPS :: ReplyCode Source #

pattern ERR_NEEDMOREPARAMS :: ReplyCode Source #

pattern ERR_ALREADYREGISTERED :: ReplyCode Source #

pattern ERR_NOPERMFORHOST :: ReplyCode Source #

pattern ERR_PASSWDMISMATCH :: ReplyCode Source #

pattern ERR_YOUREBANNEDCREEP :: ReplyCode Source #

pattern ERR_YOUWILLBEBANNED :: ReplyCode Source #

pattern ERR_KEYSET :: ReplyCode Source #

pattern ERR_INVALIDUSERNAME :: ReplyCode Source #

pattern ERR_ONLYSERVERSCANCHANGE :: ReplyCode Source #

pattern ERR_LINKSET :: ReplyCode Source #

pattern ERR_LINKCHANNEL :: ReplyCode Source #

pattern ERR_CHANNELISFULL :: ReplyCode Source #

pattern ERR_UNKNOWNMODE :: ReplyCode Source #

pattern ERR_INVITEONLYCHAN :: ReplyCode Source #

pattern ERR_BANNEDFROMCHAN :: ReplyCode Source #

pattern ERR_BADCHANNELKEY :: ReplyCode Source #

pattern ERR_BADCHANMASK :: ReplyCode Source #

pattern ERR_NEEDREGGEDNICK :: ReplyCode Source #

pattern ERR_BANLISTFULL :: ReplyCode Source #

pattern ERR_BADCHANNAME :: ReplyCode Source #

pattern ERR_THROTTLE :: ReplyCode Source #

pattern ERR_NOPRIVILEGES :: ReplyCode Source #

pattern ERR_CHANOPRIVSNEEDED :: ReplyCode Source #

pattern ERR_CANTKILLSERVER :: ReplyCode Source #

pattern ERR_ISCHANSERVICE :: ReplyCode Source #

pattern ERR_BANNEDNICK :: ReplyCode Source #

pattern ERR_NONONREG :: ReplyCode Source #

pattern ERR_TSLESSCHAN :: ReplyCode Source #

pattern ERR_VOICENEEDED :: ReplyCode Source #

pattern ERR_NOOPERHOST :: ReplyCode Source #

pattern ERR_NOSERVICEHOST :: ReplyCode Source #

pattern ERR_NOFEATURE :: ReplyCode Source #

pattern ERR_OWNMODE :: ReplyCode Source #

pattern ERR_BADLOGTYPE :: ReplyCode Source #

pattern ERR_BADLOGSYS :: ReplyCode Source #

pattern ERR_BADLOGVALUE :: ReplyCode Source #

pattern ERR_ISOPERLCHAN :: ReplyCode Source #

pattern ERR_CHANOWNPRIVNEEDED :: ReplyCode Source #

pattern ERR_UMODEUNKNOWNFLAG :: ReplyCode Source #

pattern ERR_USERSDONTMATCH :: ReplyCode Source #

pattern ERR_GHOSTEDCLIENT :: ReplyCode Source #

pattern ERR_USERNOTONSERV :: ReplyCode Source #

pattern ERR_SILELISTFULL :: ReplyCode Source #

pattern ERR_TOOMANYWATCH :: ReplyCode Source #

pattern ERR_WRONGPONG :: ReplyCode Source #

pattern ERR_BADEXPIRE :: ReplyCode Source #

pattern ERR_DONTCHEAT :: ReplyCode Source #

pattern ERR_DISABLED :: ReplyCode Source #

pattern ERR_NOINVITE :: ReplyCode Source #

pattern ERR_LONGMASK :: ReplyCode Source #

pattern ERR_ADMONLY :: ReplyCode Source #

pattern ERR_TOOMANYUSERS :: ReplyCode Source #

pattern ERR_OPERONLY :: ReplyCode Source #

pattern ERR_MASKTOOWIDE :: ReplyCode Source #

pattern ERR_WHOTRUNC :: ReplyCode Source #

pattern ERR_LISTSYNTAX :: ReplyCode Source #

pattern ERR_WHOSYNTAX :: ReplyCode Source #

pattern ERR_WHOLIMEXCEED :: ReplyCode Source #

pattern ERR_HELPNOTFOUND :: ReplyCode Source #

pattern ERR_REMOTEPFX :: ReplyCode Source #

pattern ERR_PFXUNROUTABLE :: ReplyCode Source #

pattern ERR_BADHOSTMASK :: ReplyCode Source #

pattern ERR_HOSTUNAVAIL :: ReplyCode Source #

pattern ERR_USINGSLINE :: ReplyCode Source #

pattern ERR_STATSSLINE :: ReplyCode Source #

pattern RPL_LOGON :: ReplyCode Source #

pattern RPL_LOGOFF :: ReplyCode Source #

pattern RPL_WATCHOFF :: ReplyCode Source #

pattern RPL_WATCHSTAT :: ReplyCode Source #

pattern RPL_NOWON :: ReplyCode Source #

pattern RPL_NOWOFF :: ReplyCode Source #

pattern RPL_WATCHLIST :: ReplyCode Source #

pattern RPL_ENDOFWATCHLIST :: ReplyCode Source #

pattern RPL_WATCHCLEAR :: ReplyCode Source #

pattern RPL_ISOPER :: ReplyCode Source #

pattern RPL_ISLOCOP :: ReplyCode Source #

pattern RPL_ISNOTOPER :: ReplyCode Source #

pattern RPL_ENDOFISOPER :: ReplyCode Source #

pattern RPL_DCCSTATUS :: ReplyCode Source #

pattern RPL_DCCLIST :: ReplyCode Source #

pattern RPL_ENDOFDCCLIST :: ReplyCode Source #

pattern RPL_WHOWASHOST :: ReplyCode Source #

pattern RPL_DCCINFO :: ReplyCode Source #

pattern RPL_RULES :: ReplyCode Source #

pattern RPL_ENDOFO :: ReplyCode Source #

pattern RPL_SETTINGS :: ReplyCode Source #

pattern RPL_ENDOFSETTINGS :: ReplyCode Source #

pattern RPL_DUMPING :: ReplyCode Source #

pattern RPL_DUMPRPL :: ReplyCode Source #

pattern RPL_EODUMP :: ReplyCode Source #

pattern RPL_TRACEROUTE_HOP :: ReplyCode Source #

pattern RPL_TRACEROUTE_START :: ReplyCode Source #

pattern RPL_MODECHANGEWARN :: ReplyCode Source #

pattern RPL_CHANREDIR :: ReplyCode Source #

pattern RPL_SERVMODEIS :: ReplyCode Source #

pattern RPL_OTHERUMODEIS :: ReplyCode Source #

pattern RPL_ENDOF_GENERIC :: ReplyCode Source #

pattern RPL_STARTTLS :: ReplyCode Source #

pattern RPL_WHOISSECURE :: ReplyCode Source #

pattern RPL_UNKNOWNMODES :: ReplyCode Source #

pattern RPL_CANNOTSETMODES :: ReplyCode Source #

pattern RPL_LUSERSTAFF :: ReplyCode Source #

pattern RPL_TIMEONSERVERIS :: ReplyCode Source #

pattern RPL_NETWORKS :: ReplyCode Source #

pattern RPL_YOURLANGUAGEIS :: ReplyCode Source #

pattern RPL_LANGUAGE :: ReplyCode Source #

pattern RPL_WHOISSTAFF :: ReplyCode Source #

pattern RPL_WHOISLANGUAGE :: ReplyCode Source #

pattern ERR_STARTTLS :: ReplyCode Source #

pattern RPL_MODLIST :: ReplyCode Source #

pattern RPL_ENDOFMODLIST :: ReplyCode Source #

pattern RPL_HELPSTART :: ReplyCode Source #

pattern RPL_HELPTXT :: ReplyCode Source #

pattern RPL_ENDOFHELP :: ReplyCode Source #

pattern ERR_TARGCHANGE :: ReplyCode Source #

pattern RPL_ETRACEFULL :: ReplyCode Source #

pattern RPL_ETRACE :: ReplyCode Source #

pattern RPL_KNOCK :: ReplyCode Source #

pattern RPL_KNOCKDLVR :: ReplyCode Source #

pattern ERR_TOOMANYKNOCK :: ReplyCode Source #

pattern ERR_CHANOPEN :: ReplyCode Source #

pattern ERR_KNOCKONCHAN :: ReplyCode Source #

pattern ERR_KNOCKDISABLED :: ReplyCode Source #

pattern RPL_TARGUMODEG :: ReplyCode Source #

pattern RPL_TARGNOTIFY :: ReplyCode Source #

pattern RPL_UMODEGMSG :: ReplyCode Source #

pattern RPL_OMOTDSTART :: ReplyCode Source #

pattern RPL_OMOTD :: ReplyCode Source #

pattern RPL_ENDOFOMOTD :: ReplyCode Source #

pattern ERR_NOPRIVS :: ReplyCode Source #

pattern RPL_TESTMASK :: ReplyCode Source #

pattern RPL_TESTLINE :: ReplyCode Source #

pattern RPL_NOTESTLINE :: ReplyCode Source #

pattern RPL_TESTMASKGECOS :: ReplyCode Source #

pattern RPL_QUIETLIST :: ReplyCode Source #

pattern RPL_ENDOFQUIETLIST :: ReplyCode Source #

pattern RPL_MONONLINE :: ReplyCode Source #

pattern RPL_MONOFFLINE :: ReplyCode Source #

pattern RPL_MONLIST :: ReplyCode Source #

pattern RPL_ENDOFMONLIST :: ReplyCode Source #

pattern ERR_MONLISTFULL :: ReplyCode Source #

pattern RPL_RSACHALLENGE2 :: ReplyCode Source #

pattern RPL_ENDOFRSACHALLENGE2 :: ReplyCode Source #

pattern ERR_MLOCKRESTRICTED :: ReplyCode Source #

pattern RPL_SCANMATCHED :: ReplyCode Source #

pattern RPL_SCANUMODES :: ReplyCode Source #

pattern RPL_XINFO :: ReplyCode Source #

pattern RPL_XINFOSTART :: ReplyCode Source #

pattern RPL_XINFOEND :: ReplyCode Source #

pattern RPL_LOGGEDIN :: ReplyCode Source #

pattern RPL_LOGGEDOUT :: ReplyCode Source #

pattern RPL_NICKLOCKED :: ReplyCode Source #

pattern RPL_SASLSUCCESS :: ReplyCode Source #

pattern ERR_SASLFAIL :: ReplyCode Source #

pattern ERR_SASLTOOLONG :: ReplyCode Source #

pattern ERR_SASLABORTED :: ReplyCode Source #

pattern ERR_SASLALREADY :: ReplyCode Source #

pattern RPL_SASLMECHS :: ReplyCode Source #

pattern ERR_CANNOTDOCOMMAND :: ReplyCode Source #

pattern ERR_CANNOTCHANGEUMODE :: ReplyCode Source #

pattern ERR_CANNOTCHANGECHANMODE :: ReplyCode Source #

pattern ERR_CANNOTCHANGESERVERMODE :: ReplyCode Source #

pattern ERR_CANNOTSENDTONICK :: ReplyCode Source #

pattern ERR_UNKNOWNSERVERMODE :: ReplyCode Source #

pattern ERR_SERVERMODELOCK :: ReplyCode Source #

pattern ERR_BADCHARENCODING :: ReplyCode Source #

pattern ERR_TOOMANYLANGUAGES :: ReplyCode Source #

pattern ERR_NOLANGUAGE :: ReplyCode Source #

pattern ERR_TEXTTOOSHORT :: ReplyCode Source #

pattern ERR_NUMERIC_ERR :: ReplyCode Source #

data ReplyCodeInfo Source #

Information describing the category and human decipherable name of a reply.

Constructors

ReplyCodeInfo |

Fields

- replyCodeType :: !ReplyType

  category

- replyCodeText :: !Text

  human-decipherable name

#### Instances

Instances details

Read ReplyCodeInfo Source # |
Instance details Defined in Irc.Codes Methods readsPrec :: Int -> ReadS ReplyCodeInfo Source # readList :: ReadS [ReplyCodeInfo] Source # readPrec :: ReadPrec ReplyCodeInfo Source # readListPrec :: ReadPrec [ReplyCodeInfo] Source #
Show ReplyCodeInfo Source # |
Instance details Defined in Irc.Codes Methods showsPrec :: Int -> ReplyCodeInfo -> ShowS Source # show :: ReplyCodeInfo -> String Source # showList :: [ReplyCodeInfo] -> ShowS Source #
Eq ReplyCodeInfo Source # |
Instance details Defined in Irc.Codes Methods (==) :: ReplyCodeInfo -> ReplyCodeInfo -> Bool Source # (/=) :: ReplyCodeInfo -> ReplyCodeInfo -> Bool Source #
Ord ReplyCodeInfo Source # |

Instance details

Defined in Irc.Codes

Methods

compare :: ReplyCodeInfo -> ReplyCodeInfo -> Ordering Source #

(<) :: ReplyCodeInfo -> ReplyCodeInfo -> Bool Source #

(<=) :: ReplyCodeInfo -> ReplyCodeInfo -> Bool Source #

(>) :: ReplyCodeInfo -> ReplyCodeInfo -> Bool Source #

(>=) :: ReplyCodeInfo -> ReplyCodeInfo -> Bool Source #

max :: ReplyCodeInfo -> ReplyCodeInfo -> ReplyCodeInfo Source #

min :: ReplyCodeInfo -> ReplyCodeInfo -> ReplyCodeInfo Source #

replyCodeInfo :: ReplyCode -> ReplyCodeInfo Source #

Compute information for a reply code

defaultReplyCodeInfo :: Int -> ReplyCodeInfo Source #

Categorize a reply code using the unknown category and simply showing the reply code's number as its name.

replyCodeInfoTable :: Vector ReplyCodeInfo Source #

Information about reply codes as derived from ircd-seven.