enum
{
CMDERR_OPTION_UNKNOWN
=
-‐3,
/*
unknown
-‐option
*/
CMDERR_OPTION_AMBIGUOUS
=
-‐2,
/*
ambiguous
-‐option
*/
CMDERR_OPTION_ARG_MISSING
=
-‐1,
/*
argument
missing
for
-‐option
*/
CMDERR_UNKNOWN,
/*
unknown
command
*/
CMDERR_AMBIGUOUS,
/*
ambiguous
command
*/
CMDERR_ERRNO,
/*
get
the
error
from
errno
*/
CMDERR_NOT_ENOUGH_PARAMS,
/*
not
enough
parameters
given
*/
CMDERR_NOT_CONNECTED,
/*
not
connected
to
server
*/
CMDERR_NOT_JOINED,
/*
not
joined
to
any
channels
in
this
window
*/
CMDERR_CHAN_NOT_FOUND,
/*
channel
not
found
*/
CMDERR_CHAN_NOT_SYNCED,
/*
channel
not
fully
synchronized
yet
*/
CMDERR_ILLEGAL_PROTO,
/*
requires
different
chat
protocol
than
the
active
server
*/
CMDERR_NOT_GOOD_IDEA,
/*
not
good
idea
to
do,
-‐yes
overrides
this
*/
CMDERR_INVALID_TIME,
/*
invalid
time
specification
*/
CMDERR_INVALID_CHARSET,
/*
invalid
charset
specification
*/
CMDERR_EVAL_MAX_RECURSE,
/*
eval
hit
recursion
limit
*/
CMDERR_PROGRAM_NOT_FOUND
/*
program
not
found
*/
};