Index of exceptions


A
Arg [Kwapp]
A switch that requires an argument was found on the command line without one.

B
Bad [Kwmarshal]
Exception raised when attempting to unmarshal data without a Kwmarshal magic number.
Bad [Kwmarc]
Exception raised when a bad MARC record is encountered.
BadArgv [Kwapp]
Programmer requested a command-line argument by name that was never defined.
BadFF [Kwmarc]
Bad fixed field (ff) substring in crosswalk
BadSwitch [Kwapp]
Programmer defined a bad switch.
Badpass [Kwpass]
Exception raised when we fail to extract a password from a passwordsrc.
Badschema [Kwconfig]
Errors encountered in a bad schema during attempted validation.

C
CSV [Kwcsv]
Error in CSV syntax: line number * message

D
Dbm_error [Kwdbm.DbmType]
Dupe [Kwapp]
Programmer defined a duplicated switch or argument name.

E
Err [Kwrefer]
Exception raised when syntax errors encountered in parsing: Err (ln, line)

F
Finally [Kw]
exception used internally by finalize; should never escape

I
Invalid [Kwapp]
A parameter or switch's argument failed validation.
Invalid [Kwvalid]
Exception rasied by Kwvalid.mustbe and Kwvalid.asserted.
Invalid [Kwconfig]
Errors that render a config file invalid.
Invalid_record [Kwrefer]
Exception raised when a parsed record doesn't match the semantics expected by some utility function (e.g.

M
Missing [Kwapp]
Required switches were not found on the command line.
Mutual [Kwapp]
Mutually exclusive options were given on the command line.

N
NYI [Kwtime]
raised when a strftime %-escape is Not Yet Implemented
NYI [Kwapp]
An option that is not yet implemented was requested.
NYI [Kwdeprecated.Kwarg]
Nameless [Kwapp]
Programmer defined a nameless switch.
NoAction [Kwapp]
Kwapp.dispatch invoked with no default and no dispatch switch or subcommand on command line
NoArgv [Kwapp]
A requested command-line argument was not provided.
NoTransformation [Kwstring]
exception used by smap
No_exception [Kw]
an exception for catchex indicating No_exception was raised!
Noarg [Kwapp]
Programmer requested (from Kwapp.value) a string value for a Boolean switch.

P
Parse_error [Kwtime]
raised when there is an error in strftime or convert's format string

R
ReqAfter [Kwapp]
Programmer defined a require command-line argument after an optional one.

S
Signaled [Kwexec]
Stopped [Kwexec]
Syntax [Kwrefer]
Exception raised when syntax errors encountered in parsing: Syntax (location, explanation)
Syntax [Kwparse]
exception raised when a syntax (or semantic) error is detected in parsing
Syntax [Kwdeprecated.Kwarg]

T
Timeout [Kw]
exception used by with_timeout
TooMany [Kwapp]
The option is not repeatable, but more than one was found on the command line.

U
Unbucketed [Kwrefer]
Exception raised by Kwrefer.unbucket when discarding N unbucketed records.
Undef [Kwmacro]
exception raised when an undefined macro name is encountered
Undefined [Kwapp]
Programmer requested (from Kwapp.value) a string value for an undefined switch.
Undefined [Kwdeprecated.Kwarg]
Underflow [Kwstack]
Unknown [Kwapp]
An unknown switch was found on the command line.
Unset [Kwdeprecated.Kwarg]

W
WrongNumber [Kwapp]
The wrong number of arguments were given on the command line.
WrongTag [Kwmarshal]
WrongVersion [Kwmarshal]