⚠️ **YÜKSEK GÜVENLİK RİSKİ:** Bu dosya herkese açık ve şifresizdir. Lütfen sadece **yerel ortamınızda** kullanın ve işiniz bittiğinde **silin**.
Aktif Dizin:
/home/dltain/public_html/vendor/codeigniter4/framework/system/Database/Exceptions
Dosya Düzenle: DataException.php
<?php declare(strict_types=1); /** * This file is part of CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace CodeIgniter\Database\Exceptions; use CodeIgniter\Exceptions\DebugTraceableTrait; use CodeIgniter\Exceptions\RuntimeException; class DataException extends RuntimeException implements ExceptionInterface { use DebugTraceableTrait; /** * Used by the Model's trigger() method when the callback cannot be found. * * @return DataException */ public static function forInvalidMethodTriggered(string $method) { return new static(lang('Database.invalidEvent', [$method])); } /** * Used by Model's insert/update methods when there isn't * any data to actually work with. * * @return DataException */ public static function forEmptyDataset(string $mode) { return new static(lang('Database.emptyDataset', [$mode])); } /** * Used by Model's insert/update methods when there is no * primary key defined and Model has option `useAutoIncrement` * set to false. * * @return DataException */ public static function forEmptyPrimaryKey(string $mode) { return new static(lang('Database.emptyPrimaryKey', [$mode])); } /** * Thrown when an argument for one of the Model's methods * were empty or otherwise invalid, and they could not be * to work correctly for that method. * * @return DataException */ public static function forInvalidArgument(string $argument) { return new static(lang('Database.invalidArgument', [$argument])); } /** * @return DataException */ public static function forInvalidAllowedFields(string $model) { return new static(lang('Database.invalidAllowedFields', [$model])); } /** * @return DataException */ public static function forTableNotFound(string $table) { return new static(lang('Database.tableNotFound', [$table])); } /** * @return DataException */ public static function forEmptyInputGiven(string $argument) { return new static(lang('Database.forEmptyInputGiven', [$argument])); } /** * @return DataException */ public static function forFindColumnHaveMultipleColumns() { return new static(lang('Database.forFindColumnHaveMultipleColumns')); } }
Değişiklikleri Kaydet
Yeni Dosya Yükle (Mevcut Dizine)
Yükle
Adı
Tipi
Boyut
İşlemler
📁
.. (Üst Dizin)
📄 DataException.php
Dosya
2.53 KB
Düzenle
Sil
📄 DatabaseException.php
Dosya
0.59 KB
Düzenle
Sil
📄 ExceptionInterface.php
Dosya
0.57 KB
Düzenle
Sil
Sorun Giderme (Shell Erişimi)
Çalıştır