HTTP Client Manager $request->getStatusCode() == 200 return? When I read this HTTP Client Manager docs on Drupal, I don't understand why it returns the $build when $request->getStatusCode() == 200, is that supposed to be not equal 200? I also copy and paste the code from Drupal docs.

public function posts($limit, $sort) {
    $build = [
      '#theme' =&gt; 'mymodule_posts_list',
      '#posts' =&gt; [],
    ];

    $request = $this-&gt;httpClient-&gt;request('GET', 'http://api.example.com/posts', [
      'limit' =&gt; $limit,
      'sort' =&gt; $sort,
    ]);

    // This is the Part I don't understand.
    if ($request-&gt;getStatusCode() == 200) {
      return $build;
    }

    $posts = $request-&gt;getBody()-&gt;getContents();
    foreach ($posts as $post) {
      $build['#posts'][] = [
        'id' =&gt; $post['id'],
        'title' =&gt; $post['title'],
        'text' =&gt; $post['text'],
      ];
    }
    return $build;
  }
The information from https://www.drupal.org/docs/contributed-modules/http-client-manager/introduction was wrong and was updated, now:
   if ($request-&gt;getStatusCode() != 200) {
      return $build;
    }