Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| Step_Exception | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Defines the Jetpack CRM Automation step exception. |
| 4 | * |
| 5 | * @package automattic/jetpack-crm |
| 6 | * @since 6.2.0 |
| 7 | */ |
| 8 | |
| 9 | namespace Automattic\Jetpack\CRM\Automation; |
| 10 | |
| 11 | /** |
| 12 | * Adds the Step_Exception class. |
| 13 | * |
| 14 | * @since 6.2.0 |
| 15 | */ |
| 16 | class Step_Exception extends Automation_Exception { |
| 17 | |
| 18 | /** |
| 19 | * Step type not allowed code. |
| 20 | * |
| 21 | * @since 6.2.0 |
| 22 | * @var int |
| 23 | */ |
| 24 | const STEP_TYPE_NOT_ALLOWED = 10; |
| 25 | |
| 26 | /** |
| 27 | * Step class does not exist code. |
| 28 | * |
| 29 | * @since 6.2.0 |
| 30 | * @var int |
| 31 | */ |
| 32 | const DO_NOT_EXIST = 11; |
| 33 | |
| 34 | /** |
| 35 | * Step class do not extend base class or interface. |
| 36 | * |
| 37 | * @since 6.2.0 |
| 38 | * @var int |
| 39 | */ |
| 40 | const DO_NOT_EXTEND_BASE = 12; |
| 41 | } |