You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Deserializing an empty quoted string *will not* cause an error.
@@ -9,7 +9,7 @@
9
9
-[BREAKING] Fix [#477](https://github.com/biojppm/rapidyaml/issues/477) ([PR#479](https://github.com/biojppm/rapidyaml/pull/479)): changed `read<std::map>()` to overwrite existing entries. The provided implementations had an inconsistency between `std::map` (which wasn't overwriting) and `std::vector` (which *was* overwriting).
- visit error: when visiting a tree (reading or writing). See: `pfn_error_visit`, `ErrorDataVisit`, `ExceptionVisit`, `err_visit_format()`.
6
+
- basic error: other, non specific errors. See: `pfn_error_basic`, `ErrorDataBasic`, `ExceptionBasic`, `err_basic_format()`.
7
+
- parse and visit errors/exceptions can be treated/caught as basic errors/exceptions
8
+
- Add message formatting functions to simplify implementation of error callbacks:
9
+
-`err_parse_format()`
10
+
-`err_visit_format()`
11
+
-`err_basic_format()`
12
+
-`location_format()`
13
+
-`location_format_with_context()`: useful to create a rich error message showing the region causing the error.
14
+
- The functions above receive are generic, and can be used to a function
15
+
-`Location`:
3
16
4
-
-[PR#503](https://github.com/biojppm/rapidyaml/pull/503): ensure parse error on `a: b: c` and similar cases containing nested maps opening on the same line.
17
+
18
+
### Fixes
19
+
20
+
-[PR#504](https://github.com/biojppm/rapidyaml/pull/504): ensure parse error on `a: b: c` and similar cases containing nested maps opening on the same line.
5
21
-[PR#502](https://github.com/biojppm/rapidyaml/pull/502): fix parse errors or missing tags:
0 commit comments