NextDom\Helpers\AjaxHelper::error
Send error
Signature
public function error([string
$errorData = '',
[integer
$errorCode = 0]] )
Parameters
$errorData
— string- Error description
$errorCode
— integer- Error code