Lines Matching refs:prefix
20 * @param string $prefix
24 public static function determineJsonError($error, $prefix = '') argument
30 return $prefix . 'Maximum stack depth exceeded';
32 return $prefix . 'Underflow or the modes mismatch';
34 return $prefix . 'Unexpected control character found';
36 return $prefix . 'Syntax error, malformed JSON';
38 return $prefix . 'Malformed UTF-8 characters, possibly incorrectly encoded';
40 return $prefix . 'Unknown error';
55 $prefix = 'Expected value JSON decode error - ';
58 $prefix = 'Actual value JSON decode error - ';
61 $prefix = '';
65 return $prefix;