MCPcopy Create free account
hub / github.com/StackStorm/st2 / abort

Function abort

st2common/st2common/router.py:77–78  ·  view source on GitHub ↗
(status_code=exc.HTTPInternalServerError.code, message="Unhandled exception")

Source from the content-addressed store, hash-verified

75
76
77def abort(status_code=exc.HTTPInternalServerError.code, message="Unhandled exception"):
78 raise exc.status_map[status_code](message)
79
80
81def abort_unauthorized(msg=None):

Callers 15

abort_requestFunction · 0.90
_get_one_by_idMethod · 0.90
_get_one_by_pack_refMethod · 0.90
_get_oneMethod · 0.90
get_allMethod · 0.90
get_allMethod · 0.90
get_oneMethod · 0.90
get_oneMethod · 0.90
postMethod · 0.90
putMethod · 0.90
deleteMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected