User Guide
API Reference
Print an error message and exit (or raise an exception if in interactive mode).
message (str) – Error message to print
retcode (int) – Exit code. Defaults to 1.