src/Amadeus/Client/Result.php
public function setStatus($newStatus)
    {
        if ($this->isWorseStatus($newStatus, $this->status)) {
            $this->status = $newStatus;
        }
    }
public function setStatus($newStatus)
    {
        if ($this->isWorseStatus($newStatus, $this->status)) {
            $this->status = $newStatus;
        }
    }
Sets error status.

Will not override a more severe status.

@param string $newStatus