Automattic\WooCommerce\Vendor\Sabberworm\CSS\Parsing

SourceException::__constructpublicWC 1.0

Method of the class: SourceException{}

No Hooks.

Returns

null. Nothing (null).

Usage

$SourceException = new SourceException();
$SourceException->__construct( $sMessage, $iLineNo );
$sMessage(string) (required)
.
$iLineNo(int)
.

SourceException::__construct() code WC 10.4.3

public function __construct($sMessage, $iLineNo = 0)
{
    $this->setPosition($iLineNo);
    if (!empty($iLineNo)) {
        $sMessage .= " [line no: $iLineNo]";
    }
    parent::__construct($sMessage);
}