e949/api/_errors.php

16 lines
752 B
PHP
Raw Normal View History

2023-08-12 04:09:17 +05:30
<?php
// Internal errors
2023-08-19 23:45:47 +05:30
$Err_Int_JSONEncode = "int.jsonencode"; // Failed to encode JSON data
2023-08-30 07:11:13 +05:30
$Err_Int_Unexpected = "int.unexpected"; // Unexpected result
// Request data parsing errors
2023-08-19 23:45:47 +05:30
$Err_RDP_InvalidID = "rdp.invalidid"; // Requested ID of resource is invalid
$Err_RDP_InvalidArgs = "rdp.invalidargs"; // Invalid arguments supplied to method
// Data processing errors
2023-08-19 23:45:47 +05:30
$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
2023-08-30 07:11:13 +05:30
$Err_DP_NotEnoughRole = "dp.notenoughrole"; // Power level is not enough for performing action
2023-08-12 04:09:17 +05:30
?>