public function addErrorCodeToIgnore($errorCode) { $this->errorCodesToIgnore[] = $errorCode; return $this; }