array public \Bitrix\Lists\Internals\Error\ErrorCollection::getErrorsByCode( $code );
Non-static method gets array with errors wit required code.