(function, *args)
| 225 | |
| 226 | |
| 227 | def _call(function, *args): |
| 228 | res = function(*args) |
| 229 | |
| 230 | if _get_handle().splinter_get_error(): |
| 231 | # TODO: Sometimes the string is correct, sometimes not. Investigate. |
| 232 | errorMsg = get_py_string(_get_handle().splinter_get_error_string()) |
| 233 | raise Exception(errorMsg) |
| 234 | |
| 235 | return res |
nothing calls this directly
no test coverage detected