Next / Previous / Contents / TCC Help System / NM Tech homepage

10. fatal(): Fatal error

homelist2
# - - -   f a t a l

def fatal(*L):
    '''Write an error message and stop execution.

      [ L is a list of strings ->
          sys.stderr  +:=  concatenation of elements of L
          stop execution ]
    '''
    print >>sys.stderr, "*** Fatal error: %s" % (''.join(L))
    raise SystemExit