class_docstr: Custom exception thrown when retry logic fails
class_docstr_tok: ["Custom","exception","thrown","when","retry","logic","fails"]
code: def __init__(self, retries_count, last_exception):
      message = "Failed %s retries: %s" % (
          retries_count,
          last_exception,
      )
      super(RetryError, self).__init__(message)
      self.last_exception = last_exception
  
file_path: wandb/wandb/vendor/gql-0.2.0/wandb_gql/client.py
imports: import logging
  from wandb_graphql import parse, introspection_query, build_ast_schema, build_client_schema
  from wandb_graphql.validation import validate
  from .transport.local_schema import LocalSchemaTransport
label_desc: Use image node_id 1 to create a new RetryError object from inherited base classes: Exception with example: obj = RetryError(retries_count, last_exception)