← All changes
|
jetpack_vendor/automattic/jetpack-error/src/class-error.php
+19
-0
16.2-beta
→
16.3
View file →
| @@ -1,0 +1,19 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Jetpack Error - a wrapper around WP_Error. | |
| 4 | + * | |
| 5 | + * @see https://codex.wordpress.org/Class_Reference/WP_Error | |
| 6 | + * | |
| 7 | + * @package automattic/jetpack-error | |
| 8 | + */ | |
| 9 | + | |
| 10 | +namespace Automattic\Jetpack; | |
| 11 | + | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 13 | + exit( 0 ); | |
| 14 | +} | |
| 15 | + | |
| 16 | +/** | |
| 17 | + * Class Automattic\Jetpack\Error | |
| 18 | + */ | |
| 19 | +class Error extends \WP_Error {} | |