JsonError.this
this
(size_t line, size_t column, string message,
JsonErrorCode code = JsonErrorCode.UNKNOWN,
size_t index = 0,
string context = "") @safeConstruct an error report.
Parameters
line | 1-based line number where the error occurred. |
column | 1-based column number where the error occurred. |
message | Human-readable error message. |
code | Machine-readable error category. |
index | 0-based byte offset into the original input. |
context | Source excerpt with caret highlighting the error position. |