mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2025-01-07 12:24:10 +00:00
7780424504
* Keep status code and response in memory * Allow external cache preloading. This will be required for the one-stop mathoid batch rendering * Duplicate functionality from the restBASE interface ** Error rendering ** Validity checks ** getter for validated tex Depends-On: Ic779e671ada0d0306e0935e578b47c431abd520e Change-Id: I066975b9ba03f5861f6c92687cba4743044ea82a
64 lines
1 KiB
JSON
64 lines
1 KiB
JSON
{
|
|
"status": 400,
|
|
"type": "bad_request",
|
|
"title": "Bad Request",
|
|
"detail": {
|
|
"error": {
|
|
"message": "Illegal TeX function",
|
|
"expected": [],
|
|
"found": "\\invalid",
|
|
"location": {
|
|
"start": {
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"end": {
|
|
"offset": 10,
|
|
"line": 1,
|
|
"column": 11
|
|
}
|
|
},
|
|
"name": "SyntaxError"
|
|
},
|
|
"success": false,
|
|
"warnings": [],
|
|
"status": "F",
|
|
"details": "\\invalid",
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"method": "POST",
|
|
"uri": "/texvcinfo",
|
|
"success": false,
|
|
"log": {
|
|
"error": {
|
|
"message": "Illegal TeX function",
|
|
"expected": [],
|
|
"found": "\\invalid",
|
|
"location": {
|
|
"start": {
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"end": {
|
|
"offset": 10,
|
|
"line": 1,
|
|
"column": 11
|
|
}
|
|
},
|
|
"name": "SyntaxError"
|
|
},
|
|
"success": false,
|
|
"warnings": [],
|
|
"status": "F",
|
|
"details": "\\invalid",
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"error": "SyntaxError: Illegal TeX function"
|
|
}
|