7821 improve api error messages
Compare changes
+ 11
− 6
@@ -59,7 +59,7 @@ function _wd(string $s, string $sLevel = 'info'): bool
@@ -59,7 +59,7 @@ function _wd(string $s, string $sLevel = 'info'): bool
@@ -68,6 +68,7 @@ function _quit(string $s, int $iStatus = 400): void
@@ -68,6 +68,7 @@ function _quit(string $s, int $iStatus = 400): void
@@ -105,7 +106,7 @@ function _checkAuth(string $sProjectSecret): bool
@@ -105,7 +106,7 @@ function _checkAuth(string $sProjectSecret): bool
@@ -123,7 +124,7 @@ function _checkAuth(string $sProjectSecret): bool
@@ -123,7 +124,7 @@ function _checkAuth(string $sProjectSecret): bool
@@ -216,14 +217,18 @@ switch ($sApiVersion) {
@@ -216,14 +217,18 @@ switch ($sApiVersion) {