triggering error event for http requests
endpoints can be passed to client function
github client with endpoints for: repos, commit, and commits