blob: f90abfdcd97fdb8b9191461a7e33a0e3d4b8c99d [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Error-handling support functions."""
import os.path
import sys
def FatalError(message):
print >> sys.stderr, "%s: fatal error: %s" % (os.path.basename(sys.argv[0]),
message)
sys.exit(1)