GracefulShutdownException
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1
1
<?php declare(strict_types=1);
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer\Exception;
9
10
/**
11
 * Then this exception thrown, it will not trigger "fail" callback.
12
 *
13
 *     fail('deploy', 'deploy:failed');
14
 *
15
 *     task('deploy', function () {
16
 *         throw new GracefulShutdownException(...);
17
 *     });
18
 *
19
 * In example above task `deploy:failed` will not be called.
20
 */
21
class GracefulShutdownException extends Exception
22
{
23
}
24