MCPcopy
hub / github.com/pyload/pyload / error

Method error

module/plugins/internal/Base.py:404–410  ·  view source on GitHub ↗
(self, msg="", type=_("Parse"))

Source from the content-addressed store, hash-verified

402 raise Fail(decode(msg)) # @TODO: Remove `encode` in 0.4.10
403
404 def error(self, msg="", type=_("Parse")):
405 type = _("%s error") % type.strip(
406 ).capitalize() if type else _("Unknown")
407 msg = _("%(type)s: %(msg)s | Plugin may be out of date"
408 % {'type': type, 'msg': msg or self.pyfile.error})
409
410 self.fail(msg)
411
412 def abort(self, msg=""):
413 """

Callers 15

getAccountInfosMethod · 0.45
logErrorMethod · 0.45
createIndexMethod · 0.45
parseMethod · 0.45
loadModuleMethod · 0.45
reloadPluginsMethod · 0.45
handle_freeMethod · 0.45
handle_premiumMethod · 0.45
_check_downloadMethod · 0.45
processMethod · 0.45
handle_freeMethod · 0.45
handle_multiMethod · 0.45

Calls 2

failMethod · 0.95
_Function · 0.50

Tested by

no test coverage detected