Remove unused arguments from _error_checker()

The arguments(method, url, headers and body) are not used in
_error_checker(). So this patch removes them for the cleanup.

Change-Id: I84e3be748af10b158037866e1ee4c1375b2c3541
4 files changed