'Output an error and terminate the program.'

def Fatal(self, text):

    if text:
        text = encoder.NarrowText(text, None)
        print ('[FATAL]    ' + text)
    else:
        print 'Fatal    error.'
    sys.exit(1)
