MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / error

Function error

web/pgacloud/utils/io.py:23–29  ·  view source on GitHub ↗

Print an error message and exit

(message)

Source from the content-addressed store, hash-verified

21
22
23def error(message):
24 """ Print an error message and exit """
25 debug(message)
26
27 output({'error': message})
28
29 sys.exit(1)
30
31
32def output(data):

Callers 8

_add_ingress_ruleMethod · 0.90
_create_rds_instanceMethod · 0.90
_delete_rds_instanceMethod · 0.90

Calls 2

debugFunction · 0.85
outputFunction · 0.85

Tested by

no test coverage detected