MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / result_is_error_code

Function result_is_error_code

windows/winproxy/error.py:60–64  ·  view source on GitHub ↗

raise WinproxyError(result) if result is NOT 0

(func_name, result, func, args)

Source from the content-addressed store, hash-verified

58
59
60def result_is_error_code(func_name, result, func, args):
61 """raise WinproxyError(result) if result is NOT 0"""
62 if result:
63 raise WinproxyError(func_name, error_code=result)
64 return args
65
66
67def result_is_ntstatus(func_name, result, func, args):

Callers

nothing calls this directly

Calls 1

WinproxyErrorClass · 0.85

Tested by

no test coverage detected