code: public function setStatus($newStatus)
      {
          if ($this->isWorseStatus($newStatus, $this->status)) {
              $this->status = $newStatus;
          }
      }
docs: Sets error status.
  
  Will not override a more severe status.
  
  @param string $newStatus