1 | <?php |
||
20 | class Rest_Exception extends \EE_Error { |
||
21 | /** |
||
22 | * |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $_wp_error_data = array(); |
||
26 | protected $_wp_error_code = ''; |
||
27 | public function __construct( $string_code, $message, $wp_error_data = array(), $previous = null ) { |
||
35 | |||
36 | /** |
||
37 | * Array of data that may have been set during the constructor, intended for WP_Error's data |
||
38 | * @return array |
||
39 | */ |
||
40 | public function get_data() { |
||
43 | /** |
||
44 | * Gets the error string |
||
45 | * @return string |
||
46 | */ |
||
47 | public function get_string_code() { |
||
50 | } |
||
51 |