From 7a66b283107752b4688c94d852754cb2b6fc7700 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Wed, 5 Oct 2016 22:20:45 -0400 Subject: [PATCH] Added database exception error codes --- vendor/JKingWeb/NewsSync/Exception.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vendor/JKingWeb/NewsSync/Exception.php b/vendor/JKingWeb/NewsSync/Exception.php index 6fecba0f..08099d0a 100644 --- a/vendor/JKingWeb/NewsSync/Exception.php +++ b/vendor/JKingWeb/NewsSync/Exception.php @@ -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) {