You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
734 B
23 lines
734 B
<?php
|
|
/**
|
|
* Cast language strings.
|
|
*
|
|
* @package CodeIgniter
|
|
* @author CodeIgniter Dev Team
|
|
* @copyright 2019 CodeIgniter Foundation
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://codeigniter.com
|
|
* @since Version 4.0.0
|
|
* @filesource
|
|
*
|
|
* @codeCoverageIgnore
|
|
*/
|
|
|
|
return [
|
|
'jsonErrorDepth' => 'Maximum stack depth exceeded',
|
|
'jsonErrorStateMismatch' => 'Underflow or the modes mismatch',
|
|
'jsonErrorCtrlChar' => 'Unexpected control character found',
|
|
'jsonErrorSyntax' => 'Syntax error, malformed JSON',
|
|
'jsonErrorUtf8' => 'Malformed UTF-8 characters, possibly incorrectly encoded',
|
|
'jsonErrorUnknown' => 'Unknown error',
|
|
];
|
|
|