Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ClientError | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace Wikimedia\Parsoid\Core; |
5 | |
6 | use Exception; |
7 | |
8 | /** |
9 | * Exception thrown on invalid client requests. Should result in a HTTP 400. |
10 | */ |
11 | class ClientError extends Exception { |
12 | |
13 | public function __construct( string $message = 'Bad Request' ) { |
14 | parent::__construct( $message ); |
15 | } |
16 | |
17 | } |