Your IP : 3.138.124.167


Current Path : /var/www/axolotl/data/www/krym.axolotls.ru/bitrix/modules/lists/lib/internals/error/
Upload File :
Current File : /var/www/axolotl/data/www/krym.axolotls.ru/bitrix/modules/lists/lib/internals/error/ierrorable.php

<?php

namespace Bitrix\Lists\Internals\Error;

interface IErrorable 
{
	/**
	 * Getting array of errors.
	 * @return Error[]
	 */
	public function getErrors();

	/**
	 * Getting array of errors with the necessary code.
	 * @param string $code Code of error.
	 * @return Error[]
	 */
	public function getErrorsByCode($code);

	/**
	 * Getting once error with the necessary code.
	 * @param string $code Code of error.
	 * @return Error[]
	 */
	public function getErrorByCode($code);
}