Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
InvalidUsage
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Celema\Console\Exception;
6
7use RuntimeException;
8
9/**
10 * Reports a command invoked the wrong way, like an unknown option or a
11 * missing argument.
12 *
13 * The runner prints the message and exits with code 2, which tells a
14 * wrong invocation apart from a failed run. Commands throw it for checks
15 * of their own, such as options that cannot be combined.
16 *
17 * @api
18 */
19final class InvalidUsage extends RuntimeException {}