docs: def raise_remote_error(error_code: int) -> None:
      """Raise the appropriate error with a remote error code."""
      try:
          error = next((v for k, v in ERROR_CODES.items() if k == error_code))
          raise RequestError(error)
      except StopIteration:
          raise RequestError(
              'Unknown remote error code returned: {0}'.format(error_code))