ooni-probe-cli/internal/netxlite/errorsx
Simone Basso 3cd88debdc
netxlite: improve docs, tests, and code quality (#493)
* netxlite: improve docs, tests, and code quality

* better documentation

* more strict testing of dialer (especially make sure we
document the quirk in https://github.com/ooni/probe/issues/1779
and we have tests to guarantee we don't screw up here)

* introduce NewErrWrapper factory for creating errors so we
have confidence we are creating them correctly

Part of https://github.com/ooni/probe/issues/1591
2021-09-08 21:19:51 +02:00
..
internal/generrno refactor(netxlite/errorsx): extract string-suffix classifier (#482) 2021-09-07 21:18:26 +02:00
classify_test.go refactor(netxlite/errorsx): change all tests to be unit tests (#483) 2021-09-07 22:10:29 +02:00
classify.go refactor(netxlite/errorsx): change all tests to be unit tests (#483) 2021-09-07 22:10:29 +02:00
doc.go refactor(netxlite/errors): improve docs and format code (#481) 2021-09-07 20:39:32 +02:00
errno_test.go refactor(netxlite/errorsx): extract string-suffix classifier (#482) 2021-09-07 21:18:26 +02:00
errno_unix.go refactor(netxlite/errorsx): extract string-suffix classifier (#482) 2021-09-07 21:18:26 +02:00
errno_windows.go refactor(netxlite/errorsx): extract string-suffix classifier (#482) 2021-09-07 21:18:26 +02:00
errno.go refactor(netxlite/errorsx): extract string-suffix classifier (#482) 2021-09-07 21:18:26 +02:00
errwrapper_test.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
errwrapper.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
operations.go refactor(netxlite/errors): improve docs and format code (#481) 2021-09-07 20:39:32 +02:00