Files
Nim/lib
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
..
2017-02-20 17:24:19 +02:00
2020-05-11 02:59:31 -04:00
2019-07-14 16:08:15 +02:00
2020-05-24 07:32:24 +02:00
2020-05-25 12:18:35 +02:00
2020-05-15 21:00:06 +02:00
2013-03-16 23:53:07 +01:00
2019-12-09 06:58:06 +01:00
2014-08-28 09:59:26 +02:00