Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 2
ClientError
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 2
 __construct
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 2
<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Core;
use Exception;
/**
 * Exception thrown on invalid client requests. Should result in a HTTP 400.
 */
class ClientError extends Exception {
    /**
     * @param string $message
     */
    public function __construct( string $message = 'Bad Request' ) {
        parent::__construct( $message );
    }
}