Newer
Older
framework / system / Exceptions / ConfigException.php
@lonnieezell lonnieezell on 1 May 2020 308 bytes Release v4.0.3
<?php namespace CodeIgniter\Exceptions;

/**
 * Exception for automatic logging.
 */

class ConfigException extends CriticalError
{

	/**
	 * Error code
	 *
	 * @var integer
	 */
	protected $code = 3;

	public static function forDisabledMigrations()
	{
		return new static(lang('Migrations.disabled'));
	}
}