MCPcopy Index your code
hub / github.com/pyload/pyload / abort

Method abort

module/plugins/internal/Base.py:412–419  ·  view source on GitHub ↗

Abort and give msg

(self, msg="")

Source from the content-addressed store, hash-verified

410 self.fail(msg)
411
412 def abort(self, msg=""):
413 """
414 Abort and give msg
415 """
416 if msg: # @TODO: Remove in 0.4.10
417 self.pyfile.error = encode(msg)
418
419 raise Abort
420
421 #@TODO: Recheck in 0.4.10
422 def offline(self, msg=""):

Callers 5

check_statusMethod · 0.95
_initializeMethod · 0.95

Calls 1

encodeFunction · 0.85

Tested by

no test coverage detected