mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Added database exception error codes
This commit is contained in:
parent
6ffe942f99
commit
7a66b28310
1 changed files with 7 additions and 0 deletions
7
vendor/JKingWeb/NewsSync/Exception.php
vendored
7
vendor/JKingWeb/NewsSync/Exception.php
vendored
|
@ -11,6 +11,13 @@ class Exception extends \Exception {
|
||||||
"Lang/Exception.fileUnreadable" => 10103,
|
"Lang/Exception.fileUnreadable" => 10103,
|
||||||
"Lang/Exception.fileCorrupt" => 10104,
|
"Lang/Exception.fileCorrupt" => 10104,
|
||||||
"Lang/Exception.stringMissing" => 10105,
|
"Lang/Exception.stringMissing" => 10105,
|
||||||
|
"Db/Exception.extMissing" => 10201,
|
||||||
|
"Db/Exception.fileMissing" => 10202,
|
||||||
|
"Db/Exception.fileUnusable" => 10203,
|
||||||
|
"Db/Exception.fileUnreadable" => 10204,
|
||||||
|
"Db/Exception.fileUnwritable" => 10205,
|
||||||
|
"Db/Exception.fileUncreatable" => 10206,
|
||||||
|
"Db/Exception.fileCorrupt" => 10207,
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct(string $msgID = "", $vars = null, \Throwable $e = null) {
|
public function __construct(string $msgID = "", $vars = null, \Throwable $e = null) {
|
||||||
|
|
Loading…
Reference in a new issue