1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Added database exception error codes

This commit is contained in:
J. King 2016-10-05 22:20:45 -04:00
parent 6ffe942f99
commit 7a66b28310

View file

@ -11,6 +11,13 @@ class Exception extends \Exception {
"Lang/Exception.fileUnreadable" => 10103,
"Lang/Exception.fileCorrupt" => 10104,
"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) {