First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
21
system/Exceptions/ConfigException.php
Normal file
21
system/Exceptions/ConfigException.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php namespace CodeIgniter\Exceptions;
|
||||
|
||||
/**
|
||||
* Exception for automatic logging.
|
||||
*/
|
||||
|
||||
class ConfigException extends CriticalError
|
||||
{
|
||||
|
||||
/**
|
||||
* Error code
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
protected $code = 3;
|
||||
|
||||
public static function forDisabledMigrations()
|
||||
{
|
||||
throw new static(lang('Migrations.disabled'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user