Sylvain Munaut
4a9981ee77
pycontainers: Properly handle KeyErrors
...
We raise a C++ exception to abort the rest of the execution of
the function.
At the same time we standardize on using a throw runtime error as the
method to avoid warning when not returning values. (some places
used this throw and some other used std::terminate)
Fixes #403
Signed-off-by: Sylvain Munaut <tnt@246tNt.com >
2020-03-04 00:12:45 +01:00
..
2020-02-15 11:35:51 +00:00
2018-08-09 10:39:53 +02:00
2018-12-19 10:36:55 +00:00
2020-02-15 11:35:51 +00:00
2019-06-25 18:19:25 +02:00
2019-10-18 15:58:57 +01:00
2019-10-18 15:58:57 +01:00
2018-06-23 14:32:49 +02:00
2018-12-05 19:58:38 +01:00
2018-12-05 19:58:38 +01:00
2019-12-27 10:44:30 +00:00
2020-02-15 11:35:51 +00:00
2019-06-15 15:23:51 +02:00
2019-03-22 10:31:54 +00:00
2020-02-12 10:41:27 +00:00
2020-02-12 10:41:27 +00:00
2020-02-12 10:41:27 +00:00
2020-02-12 10:41:27 +00:00
2020-01-26 20:32:02 +00:00
2018-07-04 14:55:24 +02:00
2020-03-04 00:12:45 +01:00
2020-01-26 20:32:02 +00:00
2020-02-04 16:08:08 +00:00
2019-06-25 18:19:25 +02:00
2020-02-03 13:46:05 +00:00
2020-02-03 11:38:31 +00:00
2018-11-29 19:28:15 +00:00
2019-10-24 12:37:07 +01:00
2020-02-15 11:35:51 +00:00
2019-04-16 16:03:12 +02:00
2019-06-25 18:19:25 +02:00
2019-11-18 21:34:32 +00:00
2018-12-06 10:53:01 +00:00
2019-10-09 14:23:35 +01:00
2020-01-11 11:38:45 +01:00