Example #1
0
 /**
  * Getting once error with the necessary code.
  * @param string $code Code of error.
  * @return Error[]
  */
 public function getErrorByCode($code)
 {
     return parent::getErrorByCode($code) ?: $this->getRealObject()->getErrorByCode($code);
 }