def client_error_message(self, exc, url, body, msg=None):
    if ((exc.code == 403) and ('too big' in body.lower())):
        return (400, 'GitHub will not serve raw gists larger than 10MB')
    return super().client_error_message(exc, url, body, msg)
def client_error_message(self, exc, url, body, msg=None):
    if ((exc.code == 403) and ('too big' in body.lower())):
        return (400, 'GitHub will not serve raw gists larger than 10MB')
    return super().client_error_message(exc, url, body, msg)