Class ParseException
An exception thrown when parsing a CSS selector fails (ie failed to interpret the selector, before conversion starts)
-
Exception
implements
Throwable
-
WPGMZA\Selector\ParseException
Methods summary
public
|
#
__construct( string $message, integer $code = 0, Exception $previous = null )
Constructor.
Parameters
- $message
- The error message
- $code
- Unused, the error code
- $previous
- The previous exception, used for exception chaining
Overrides
Exception::__construct()
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
Properties summary
public
The
|
$css
CSS selector that caused this exception
CSS selector that caused this exception
|
|
Properties inherited from Exception
$code,
$file,
$line,
$message
|