Files
Nim/lib/pure
Ivan Bobev cc65ae6011 Change UnpackError with UnpackDefect (#14457)
* Change `UnpackError` with `UnpackDefect`

The deprecation warning for `UnpackError` exception raised by some
`inline` procedures in the Nim standard library propagates to the user
code. If the user code has a requirement for building without warnings
this is a problem for the successful execution of the tests. In order
to resolve this, all occurrences of `UnpackError` in the Nim code base
are changed to `UnpackDefect`. Only the type alias is retained to not
break other people's user code since `UnpackError` is exported type.

* Remove the catching of `UnpackDefect`

Defect exceptions should not be cached, because they indicate problem in
the API usage. The code in `nimblesocket.nim` is rewritten to first
check whether there is a value set into the `knownDomain` variable from
the `Option` type before usage.
2020-05-27 08:34:13 +02:00
..
2018-04-30 02:52:58 +02:00
2020-04-21 15:05:21 +02:00
2015-10-01 12:05:45 -07:00
2020-05-05 10:34:37 +02:00
2020-04-02 02:58:43 +02:00
2018-04-06 11:59:49 +02:00
2020-05-18 17:43:06 +01:00
2020-04-28 19:56:01 +02:00
2019-09-30 13:58:10 +02:00
2020-03-31 15:47:57 +02:00
2020-03-31 15:47:57 +02:00
2019-09-30 13:58:10 +02:00
2020-03-19 10:23:05 +01:00
2020-01-24 08:42:03 +00:00
2020-05-11 19:12:40 +02:00
2020-03-31 15:47:57 +02:00
2020-05-13 14:29:53 +02:00
2020-05-11 19:12:40 +02:00
2019-12-05 14:42:20 +01:00