raise WinproxyError if result is NOT 0
(func_name, result, func, args)
| 51 | |
| 52 | |
| 53 | def succeed_on_zero(func_name, result, func, args): |
| 54 | """raise WinproxyError if result is NOT 0""" |
| 55 | if result: |
| 56 | raise WinproxyError(func_name) |
| 57 | return args |
| 58 | |
| 59 | |
| 60 | def result_is_error_code(func_name, result, func, args): |
nothing calls this directly
no test coverage detected