handleJsonError() protected static method (available since version 2.0.6)
protected static void handleJsonError ( $lastError ) | ||
---|---|---|
$lastError | integer |
Error code from json_last_error(). |
throws | yii\base\InvalidParamException |
if there is any encoding/decoding error. |
Please login to continue.