| 1 |
<?php |
| 2 |
/** |
| 3 |
* This class defines constants for various error codes. |
| 4 |
* |
| 5 |
* @author Hoang Ngo |
| 6 |
* @package WP_Defender\Component |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace WP_Defender\Component; |
| 10 |
|
| 11 |
/** |
| 12 |
* Error codes for various errors. |
| 13 |
*/ |
| 14 |
class Error_Code { |
| 15 |
|
| 16 |
public const NOT_WRITEABLE = 1; |
| 17 |
public const WPDEBUG_NOT_FOUND = 2; |
| 18 |
public const UNKNOWN_WPCONFIG = 3; |
| 19 |
public const IS_EMPTY = 4; |
| 20 |
public const VALIDATE = 5; |
| 21 |
public const SQL_ERROR = 6; |
| 22 |
public const DB_ERROR = 7; |
| 23 |
public const INVALID = 8; |
| 24 |
public const SCAN_ERROR = 9; |
| 25 |
public const API_ERROR = 10; |
| 26 |
public const DECRYPT_ERROR = 11; |
| 27 |
public const ENCRYPT_ERROR = 12; |
| 28 |
} |
| 29 |
|