surfa.system.fatal#

surfa.system.fatal(message, retcode=1)#

Print an error message and exit (or raise an exception if in interactive mode).

Parameters
  • message (str) – Error message to print

  • retcode (int) – Exit code. Defaults to 1.