TransientFailureException.httpRequest constructor

TransientFailureException.httpRequest(
  1. BaseResponse response
)

Initializes an instance of TransientFailureException with a Response

Implementation

TransientFailureException.httpRequest(BaseResponse response) : super('''
Failed to perform an HTTP request to YouTube due to a transient failure.
In most cases, this error indicates that the problem is on YouTube's side and this is not a bug in the library.
To resolve this error, please wait some time and try again.
If this issue persists, please report it on the project's GitHub page.
Request: ${response.request}
Response: $response
''');