MCPcopy
hub / github.com/coleifer/sqlite-web / die

Function die

sqlite_web/sqlite_web.py:1555–1558  ·  view source on GitHub ↗
(msg, exit_code=1)

Source from the content-addressed store, hash-verified

1553 return parser
1554
1555def die(msg, exit_code=1):
1556 sys.stderr.write('%s\n' % msg)
1557 sys.stderr.flush()
1558 sys.exit(exit_code)
1559
1560def open_browser_tab(host, port):
1561 url = 'http://%s:%s/' % (host, port)

Callers 2

initialize_datasetFunction · 0.85
configure_appFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected