LazyRecord\Result::triggerError PHP Method

triggerError() public method

Trigger error with errorType, default to E_USER_NOTICE.
public triggerError ( string $desc = null, integer $errorType = E_USER_NOTICE )
$desc string error description
$errorType integer error types defined in http://php.net/manual/en/function.trigger-error.php
    public function triggerError($desc = null, $errorType = E_USER_NOTICE)
    {
        trigger_error(($desc ? "{$desc}:" : '') . $this->message, $errorType);
    }