This structure is the means by which LAL functions report their
success or failure; it provides a useful mechanism for tracking
progress and errors through nested function calls. The error
reporting structure is a linked list of LALStatus structures, with
each node corresponding to a given function in the current calling
sequence. When a function terminates successfully, its node is
dropped from the list. If a function encounters an error, it must
still return control to the calling routine, reporting the error
through its LALStatus. The calling routine must either deal with
the error (pruning the linked list if it succeeds), or else return an
error itself. A fatal error will thus return a linked list of
LALStatus structures to the top-level routine, where the tail of
the list identifies the source of the error, and the intermediate
nodes identify the sequence of nested function calls that led to the
error. The fields of the LALStatus are as follows:
statusCode was set.
NULL if this function is not reporting a subroutine
error.
Author: J. D. E. Creighton, T. D. Creighton $Id: LALDatatypes.h,v 1.13 2003/06/19 21:13:52 jolien Exp $