Code cleanup and some fixes

This commit is contained in:
2023-08-30 04:41:13 +03:00
parent 41ddbcab9e
commit 074ce120e9
6 changed files with 43 additions and 32 deletions

View File

@@ -2,6 +2,7 @@
// Internal errors
$Err_Int_JSONEncode = "int.jsonencode"; // Failed to encode JSON data
$Err_Int_Unexpected = "int.unexpected"; // Unexpected result
// Request data parsing errors
$Err_RDP_InvalidID = "rdp.invalidid"; // Requested ID of resource is invalid
@@ -11,5 +12,5 @@ $Err_RDP_InvalidArgs = "rdp.invalidargs"; // Invalid arguments supplied to
$Err_DP_IDNotFound = "dp.idnotfound"; // Resource not found by requested ID
$Err_DP_AlreadyLoggedIn = "dp.alreadyloggedin"; // User already logged into account
$Err_DP_RegClosed = "dp.regclosed"; // Registration is closed
$Err_DP_NotEnoughRole = "dp.notenoughrole"
$Err_DP_NotEnoughRole = "dp.notenoughrole"; // Power level is not enough for performing action
?>