forked from codeigniter4/CodeIgniter4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCast.php
More file actions
23 lines (22 loc) · 776 Bytes
/
Copy pathCast.php
File metadata and controls
23 lines (22 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
* Cast language strings.
*
* @package CodeIgniter
* @author CodeIgniter Dev Team
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
* @license https://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 3.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',
];