From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Library:JSON for Modern C++" |
|---|
| claim | "nlohmann/json exception_id: parse_error 101 (syntax error), 104-110, 112-115 (JSON Patch, Pointer, binary formats); invalid_iterator 201-214; type_error 301-318 and 321 (302 type must be X but is Y, 316 invalid UTF-8 in dump); out_of_range 401-415 (401 array index, 403 key not found); other_error 500-502 (500 internal_error, 501 patch_test_failed, 502 size_marker_required)." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "JSON for Modern C++" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "nlohmann exception_id" |
|---|
| values | | 101 | "syntax_error" |
|---|
| 104 | "patch_not_an_array" |
|---|
| 105 | "patch_invalid_operation" |
|---|
| 106 | "pointer_index_leading_zero" |
|---|
| 107 | "pointer_missing_slash" |
|---|
| 108 | "pointer_invalid_escape" |
|---|
| 109 | "pointer_index_not_a_number" |
|---|
| 110 | "unexpected_end_of_input" |
|---|
| 112 | "unexpected_byte" |
|---|
| 113 | "invalid_string_or_size" |
|---|
| 114 | "bson_unsupported_type" |
|---|
| 115 | "invalid_high_precision_number" |
|---|
| 201 | "iterators_incompatible" |
|---|
| 202 | "iterator_from_other_value" |
|---|
| 203 | "iterator_range_from_other_value" |
|---|
| 204 | "iterator_range_out_of_range" |
|---|
| 205 | "iterator_out_of_range" |
|---|
| 206 | "iterator_range_of_null" |
|---|
| 207 | "iterator_key_not_object" |
|---|
| 208 | "iterator_subscript_on_object" |
|---|
| 209 | "iterator_arithmetic_on_object" |
|---|
| 210 | "insert_range_incompatible" |
|---|
| 211 | "insert_range_into_itself" |
|---|
| 212 | "iterators_compare_different_values" |
|---|
| 213 | "iterator_order_on_object" |
|---|
| 214 | "iterator_value_unavailable" |
|---|
| 301 | "object_from_non_pairs" |
|---|
| 302 | "type_mismatch" |
|---|
| 303 | "incompatible_reference_type" |
|---|
| 304 | "at_wrong_type" |
|---|
| 305 | "subscript_wrong_type" |
|---|
| 306 | "value_wrong_type" |
|---|
| 307 | "erase_wrong_type" |
|---|
| 308 | "push_back_wrong_type" |
|---|
| 309 | "insert_wrong_type" |
|---|
| 310 | "swap_wrong_type" |
|---|
| 311 | "emplace_wrong_type" |
|---|
| 312 | "update_wrong_type" |
|---|
| 313 | "unflatten_invalid_value" |
|---|
| 314 | "unflatten_not_object" |
|---|
| 315 | "unflatten_value_not_primitive" |
|---|
| 316 | "invalid_utf8" |
|---|
| 317 | "type_not_serializable" |
|---|
| 318 | "enum_key_duplicate" |
|---|
| 321 | "discarded_value_used" |
|---|
| 401 | "array_index_out_of_range" |
|---|
| 402 | "pointer_past_the_end_index" |
|---|
| 403 | "key_not_found" |
|---|
| 404 | "pointer_unresolved" |
|---|
| 405 | "patch_on_root" |
|---|
| 406 | "number_overflow" |
|---|
| 407 | "integer_too_large" |
|---|
| 408 | "container_too_large" |
|---|
| 409 | "bson_key_with_null" |
|---|
| 410 | "value_out_of_range" |
|---|
| 411 | "patch_add_parent_not_container" |
|---|
| 412 | "length_too_large" |
|---|
| 413 | "patch_remove_parent_not_container" |
|---|
| 414 | "patch_move_into_child" |
|---|
| 415 | "subtype_out_of_range" |
|---|
| 500 | "internal_error" |
|---|
| 501 | "patch_test_failed" |
|---|
| 502 | "size_marker_required" |
|---|
|
|---|
| underlying_type | "int" |
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum class exception_id; message prefix built at line 146" |
|---|
| repo | "https://github.com/nlohmann/json" |
|---|
| commit | "0e95fe8200adbf0e033d0c0818eea473e1d4d346" |
|---|
| path | "include/nlohmann/detail/exceptions.hpp" |
|---|
| lines | "54-110" |
|---|
|
| type | "source" |
|---|
| detail | "Read the whole enum class exception_id; values 101-115, 201-214, 301-318, 321, 401-415, 500-502" |
|---|
| repo | "https://github.com/nlohmann/json" |
|---|
| commit | "0e95fe8200adbf0e033d0c0818eea473e1d4d346" |
|---|
| path | "include/nlohmann/detail/exceptions.hpp" |
|---|
| lines | "54-125" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Exception ids" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T17:20:31.968Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T09:46:02.397Z" |
|---|
| summary | "List was cut short: added all 64 exception_id values from exceptions.hpp and fixed claim: out_of_range runs 401-415 (not 401-410), other_error 500-502." |
|---|
| changed | | "claim" |
| "data" |
| "evidence" |
|
|---|
|
|
|---|